chasitor.sendCustomEvent()
Sends a custom event to the agent console of the agent who is currently chatting with a customer. Available in API version 29.0 or later.
| Name | Type | Description |
|---|---|---|
type | string | The name of the custom event to send to the agent console. |
data | string | Additional data you want to send to the agent console along with the custom event. |
This method returns no responses.