event
fun ChatEventHandler.event(id: UUID, listener: ChatEventHandler.OnEventSentListener? = null, errorListener: ChatEventHandler.OnEventErrorListener? = null)
Trigger event specified in agent console or elsewhere as per your representative instructions. This event is not mandatory though, consult your representative for more information.
Parameters
id
ID of event to trigger per representative instructions.
listener
an optional listener to be notified after the event has been sent.
errorListener
an optional error listener to be notified about errors encountered when event is handled.