ChatThreadEventHandlerActions
Provides in-one-place interactions to trigger all available events.
See also
Functions
Link copied to clipboard
fun ChatThreadEventHandler.archiveThread(listener: ChatThreadEventHandler.OnEventSentListener? = null, errorListener: ChatThreadEventHandler.OnEventErrorListener? = null)
Archive the thread.
Link copied to clipboard
fun ChatThreadEventHandler.loadMetadata(listener: ChatThreadEventHandler.OnEventSentListener? = null, errorListener: ChatThreadEventHandler.OnEventErrorListener? = null)
Request additonal thread metadata.
Link copied to clipboard
fun ChatThreadEventHandler.markThreadRead(listener: ChatThreadEventHandler.OnEventSentListener? = null, errorListener: ChatThreadEventHandler.OnEventErrorListener? = null)
Mark the thread as read.
Link copied to clipboard
fun ChatThreadEventHandler.typingEnd(listener: ChatThreadEventHandler.OnEventSentListener? = null, errorListener: ChatThreadEventHandler.OnEventErrorListener? = null)
Notify the server that the user has stopped typing.
Link copied to clipboard
fun ChatThreadEventHandler.typingStart(listener: ChatThreadEventHandler.OnEventSentListener? = null, errorListener: ChatThreadEventHandler.OnEventErrorListener? = null)
Notify the agent that the user has started typing.