NumberStringTriggerSourcePerformInteractionResponsePerformInteractionResponsePerformInteractionResponseInitializes an instance of PerformInteractionResponse.
NumberGet the ChoiceID
Kind: Instance method of PerformInteractionResponse
Returns: Number - the KEY_CHOICE_ID value
StringGet the ManualTextEntry
Kind: Instance method of PerformInteractionResponse
Returns: String - the KEY_MANUAL_TEXT_ENTRY value
TriggerSourceGet the TriggerSource
Kind: Instance method of PerformInteractionResponse
Returns: TriggerSource - the KEY_TRIGGER_SOURCE value
PerformInteractionResponseSet 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} |
PerformInteractionResponseSet 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} |
PerformInteractionResponseSet 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. |