CreateChoiceInput
Method
func (InteractionService) CreateChoiceInput( name string, options ...*CreateChoiceInputOptions,) InteractionInputBuilderSignature
method
CreateChoiceInput Creates a choice input that selects from a list of options.
CreateChoiceInput( name string, options ...*CreateChoiceInputOptions,) InteractionInputBuilderParameters
namestringThe name of the input.options...*CreateChoiceInputOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*CreateChoiceInputOptions argument.
Choices[]*InteractionChoiceOption The available choices, in display order. Each option pairs a submitted value with a display label.Options*CreateInteractionInputOptions Optional configuration for the input.Returns
InteractionInputBuilder Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types: