About This Guide
Prerequisites
API Versions
Create Deployments
setCustomVariable
rejectChat
addButtonEventHandler
Automated Chat Invitation Code Sample
Deployment API Code Sample
Use the setCustomVariable method to create customized criteria in your sending rules that must be met in order for your automated invitation to be sent to customers.
Creates customized criteria in your sending rules that must be met in order for your automated invitation to be sent to customers. Specifies the comparison values for custom variables used in criteria for your sending rules. Available in API versions 28.0 and later.
void setCustomVariable(String variableName, Object value)
| Name | Type | Description | Available Versions |
|---|---|---|---|
variableName | String | The name of the customized criteria for your custom sending rule. | Available in API versions 28.0 and later. |
value | Object | The comparison value for your custom sending rule. | Available in API versions 28.0 and later. |