Newer Version Available

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

Methods for Live Agent Chat Visitors

You can use the following methods to customize the chat visitor experience for Live Agent in a custom Visualforce chat window:
Method Description
chasitor.addCustomEventListener()

Registers a function to call when a custom event is received in the chat window. Available in API version 29.0 or later.

chasitor.getCustomEvents()

Retrieves a list of custom events that have been received in this chat window during this chat session. Available in API version 29.0 or later.

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.