InteractionLoadingInput
Handle
A handle to the input currently being loaded by a dynamic-loading callback. Mirrors the native Load by letting callbacks update the live input directly.
type InteractionLoadingInput interface{}Methods
method
GetName Gets the name of the input.
GetName() (string, error)Returns
(string, error) The input name.
Returns (string, error).
method
SetChoiceOptions Sets the choice options for the input.
SetChoiceOptions(choices []*InteractionChoiceOption) errorParameters
choices[]*InteractionChoiceOption The available choices, in display order. Each option pairs a submitted value with a display label.Returns
errorReturns error.
method
SetValue Sets the value of the input.
SetValue(value string) errorParameters
valuestringThe value to assign.Returns
errorReturns error.