StaticforReturns a 'message' activity containing a list of choices that has been automatically formatted based on the capabilities of a given channel.
Channel ID or context object for the current turn of conversation.
List of choices to render.
Optionaltext: string(Optional) text of the message.
Optionalspeak: string(Optional) SSML to speak for the message.
Optionaloptions: ChoiceFactoryOptions(Optional) formatting options to use when rendering as a list.
OptionalconversationType: string(Optional) the type of the conversation.
The created message activity.
StaticheroReturns a 'message' activity that includes a list of choices that have been added as HeroCard's.
List of choices to render.
Optionaltext: string(Optional) Text of the message.
Optionalspeak: string(Optional) SSML to speak for the message.
The created message activity with choices as a HeroCard with buttons.
StaticinlineReturns a 'message' activity containing a list of choices that has been formatted as an inline list.
List of choices to render.
Optionaltext: string(Optional) text of the message.
Optionalspeak: string(Optional) SSML to speak for the message.
Optionaloptions: ChoiceFactoryOptions(Optional) formatting options to tweak rendering of list.
The created message activity.
StaticlistReturns a 'message' activity containing a list of choices that has been formatted as an numbered or bulleted list.
List of choices to render.
Optionaltext: string(Optional) text of the message.
Optionalspeak: string(Optional) SSML to speak for the message.
Optionaloptions: ChoiceFactoryOptions(Optional) formatting options to tweak rendering of list.
The created message activity.
StaticsuggestedReturns a 'message' activity containing a list of choices that has been formatted as suggested actions.
List of choices to render.
Optionaltext: string(Optional) Text of the message.
Optionalspeak: string(Optional) SSML to speak for the message.
The created message activity.
Staticto
A set of utility functions to assist with the formatting a 'message' activity containing a list of choices.