ChoiceFactory.Inline Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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.