refresh
fun ChatEventHandler.refresh(listener: ChatEventHandler.OnEventSentListener? = null, errorListener: ChatEventHandler.OnEventErrorListener? = null)
Refresh the authentication token associated with the chat.
Parameters
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.