Skip to content
DocsTry Aspire
DocsTry

IInteractionService.createChoiceInput

Method
📦 Aspire.Hosting v13.5.0
interface IInteractionService {
// ... omitted for brevity
createChoiceInput(
name: string,
choices?: InteractionChoiceOption[],
options?: CreateInteractionInputOptions): InteractionInputBuilder;
}

Signature

methodcreateChoiceInput
Creates a choice input that selects from a list of options.
createChoiceInput(
name: string,
choices?: InteractionChoiceOption[],
options?: CreateInteractionInputOptions): InteractionInputBuilder
namestring
choicesInteractionChoiceOption[]optional
optionsCreateInteractionInputOptionsoptional
InteractionInputBuilder

Defined on

This method is defined on the following type: