Number
String
TriggerSource
PerformInteractionResponse
PerformInteractionResponse
PerformInteractionResponse
Initializes an instance of PerformInteractionResponse.
Number
Get the ChoiceID
Kind: Instance method of PerformInteractionResponse
Returns: Number
- the KEY_CHOICE_ID value
String
Get the ManualTextEntry
Kind: Instance method of PerformInteractionResponse
Returns: String
- the KEY_MANUAL_TEXT_ENTRY value
TriggerSource
Get the TriggerSource
Kind: Instance method of PerformInteractionResponse
Returns: TriggerSource
- the KEY_TRIGGER_SOURCE value
PerformInteractionResponse
Set the ChoiceID
Kind: Instance method of PerformInteractionResponse
Returns: PerformInteractionResponse
- The class instance for method chaining.
Param | Type | Description |
---|---|---|
id | Number |
ID of the choice that was selected in response to PerformInteraction. Only is valid if general result is "success:true". - The desired ChoiceID. {'num_min_value': 0, 'num_max_value': 2000000000} |
PerformInteractionResponse
Set the ManualTextEntry
Kind: Instance method of PerformInteractionResponse
Returns: PerformInteractionResponse
- The class instance for method chaining.
Param | Type | Description |
---|---|---|
entry | String |
Manually entered text selection, e.g. through keyboard Can be returned in lieu of choiceID, depending on trigger source - The desired ManualTextEntry. {'string_min_length': 1, 'string_max_length': 500} |
PerformInteractionResponse
Set the TriggerSource
Kind: Instance method of PerformInteractionResponse
Returns: PerformInteractionResponse
- The class instance for method chaining.
Param | Type | Description |
---|---|---|
source | TriggerSource |
See TriggerSource Only is valid if resultCode is SUCCESS. - The desired TriggerSource. |