ChatThreadEventHandler

Event handler allows for triggering events regarding the ChatThread instance it was created for.

It has no side effects attached to it and can be created again on demand.

Types

Link copied to clipboard
fun interface OnEventErrorListener

Listener which will be notified when the triggered event has failed with an error.

Link copied to clipboard
fun interface OnEventSentListener

A listener to be notified when the triggered event is sent.

Functions

Link copied to clipboard
Link copied to clipboard

Sends an event to server without further delays. If sending of the event fails, the event is considered consumed anyway.