ConversationState

Represents the various states of the conversation. States of the conversation could change in the following sequence: ACTIVE <-> INACTIVE -> CLOSED with timers (automatically flip to "inactive" after some period of inactivity), triggers (new message, new participant -- flip to "active" back on activity), or API call.

Entries

Link copied to clipboard

Conversation state is unknown.

Link copied to clipboard

Conversation state is active, i.e. some events have happened in the conversation recently (new message received, new participant added etc).

Link copied to clipboard

Conversation state is inactive, i.e. no new events have happened in the conversation recently (new message received, new participant added etc). So the conversation has been moved to inactive state by timeout.

Link copied to clipboard

When conversation moves to CLOSED state SDKs receives update that the user left given conversation. So SDKs will not receive any updates on it in the future. Any operations with closed conversation are not permitted.

Properties

Link copied to clipboard
val value: Int

Functions

Link copied to clipboard
Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.