Skip to content
DocsTry Aspire
DocsTry

InteractionInputBuilder.withChoiceOptions

Method
📦 Aspire.Hosting v13.5.0
interface InteractionInputBuilder {
// ... omitted for brevity
withChoiceOptions(choices: InteractionChoiceOption[]): InteractionInputBuilder;
}

Signature

methodwithChoiceOptions
Sets the choice options for the input.
withChoiceOptions(choices: InteractionChoiceOption[]): InteractionInputBuilder
choicesInteractionChoiceOption[]
InteractionInputBuilder

Defined on

This method is defined on the following type: