Newer Version Available

This content describes an older version of this product. View Latest

chasitor.sendCustomEvent()

Usage

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.

Syntax

Arguments

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.

Sample Code–Visualforce

Response

This method returns no responses.