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