IChoice interface

A choice that can be passed to Prompts.choice() or [PromptRecognizers.recognizeChoices()][/en-us/node/builder/chat-reference/classes/botbuilder_d.promptrecognizers#recognizechoices].

Properties

action

(Optional) action to use when rendering the choice as a suggested action.

synonyms

(Optional) list of synonyms to recognize in addition to the value.

value

Value to return when selected.

Property Details

action

(Optional) action to use when rendering the choice as a suggested action.

action?: ICardAction

Property Value

synonyms

(Optional) list of synonyms to recognize in addition to the value.

synonyms?: ValueListType

Property Value

value

Value to return when selected.

value: string

Property Value

string