InteractionInputBuilder.withChoiceOptions
Method
interface InteractionInputBuilder { // ... omitted for brevity withChoiceOptions(choices: InteractionChoiceOption[]): InteractionInputBuilder;}Signature
method
withChoiceOptions Sets the choice options for the input.
withChoiceOptions(choices: InteractionChoiceOption[]): InteractionInputBuilderParameters
choicesInteractionChoiceOption[] The available choices, in display order. Each option pairs a submitted value with a display label.Returns
InteractionInputBuilder Defined on
This method is defined on the following type: