Package-level declarations

Account, chat state, error, availability, and outgoing message types.

Types

Link copied to clipboard
interface AccountInfo

Account details used to start a chat session.

Link copied to clipboard

A message that carries file attachments.

Link copied to clipboard

The reason a chat session ended.

Link copied to clipboard
class ErrorEvent(var code: String, var message: String?, data: Any? = null, postEvent: () -> Unit? = null) : Event

An event that reports an error.

Link copied to clipboard

An outgoing message that carries file attachments.

Link copied to clipboard

A message sent by the user.

Link copied to clipboard
open class StateEvent @JvmOverloads constructor(val state: String, data: Any? = null, postEvent: () -> Unit? = null) : Event

An event representing a change in the chat session's lifecycle state.

Link copied to clipboard
class UnavailableEvent(val isFollowedByForm: Boolean, val unavailableReason: String, reasonMsg: Any? = null) : StateEvent

A StateEvent with the StateEvent.Unavailable state, sent when the chat can't be started, for example because the deployment is unavailable or the connection failed; see unavailableReason.

Link copied to clipboard

The possible reasons for chat to be unavailable.

Properties

Link copied to clipboard
Link copied to clipboard