Jaa


ChoiceFactory.Inline Method

Definition

Creates a message activity that includes a list of choices formatted as an inline list.

public static Microsoft.Bot.Schema.Activity Inline (System.Collections.Generic.IList<Microsoft.Bot.Builder.Dialogs.Choices.Choice> choices, string text = default, string speak = default, Microsoft.Bot.Builder.Dialogs.Choices.ChoiceFactoryOptions options = default);
static member Inline : System.Collections.Generic.IList<Microsoft.Bot.Builder.Dialogs.Choices.Choice> * string * string * Microsoft.Bot.Builder.Dialogs.Choices.ChoiceFactoryOptions -> Microsoft.Bot.Schema.Activity
Public Shared Function Inline (choices As IList(Of Choice), Optional text As String = Nothing, Optional speak As String = Nothing, Optional options As ChoiceFactoryOptions = Nothing) As Activity

Parameters

choices
IList<Choice>

The list of choices to include.

text
String

Optional, the text of the message to send.

speak
String

Optional, the text to be spoken by your bot on a speech-enabled channel.

options
ChoiceFactoryOptions

Optional, the formatting options to use when rendering as a list.

Returns

The created message activity.

Applies to