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.

Functions

Link copied to clipboard

Request additional thread metadata.

Link copied to clipboard

Mark the thread as read.

Link copied to clipboard
suspend fun ChatThreadEventHandler.selectTimeSlot(timeSlotLocalizedText: String, timeSlot: TimeSlot): EventResponse?

Sends a postback for the selected time slot (typically in response to a TimePicker TimeSlot message).

Link copied to clipboard

Send the chat transcript to the specified email address.

Link copied to clipboard
abstract suspend fun trigger(event: ChatThreadEvent): EventResponse?

Sends an event to server without further delays.

Link copied to clipboard

Triggers an action event based on the provided Action.

Link copied to clipboard

Notify the server that the user has stopped typing.

Link copied to clipboard

Notify the agent that the user has started typing.