chatWindowOpen
fun ChatEventHandler.chatWindowOpen(date: Date = Date(), listener: ChatEventHandler.OnEventSentListener? = null, errorListener: ChatEventHandler.OnEventErrorListener? = null)
Send a ChatWindowOpen event to the analytics server.
chatWindowOpen
should be invoked whenever the user opens the chat window.
Parameters
date
date of the event.
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.