Conversation

interface Conversation

Represents a messaging conversation between an end user and one or more agents or bots.

Inheritors

Properties

Link copied to clipboard

The communication modalities currently active in this conversation (e.g., messaging, voice, video).

Link copied to clipboard

The Participants currently active in this conversation.

Link copied to clipboard
abstract val createdAt: Long?

The timestamp when the conversation was created, in milliseconds since the epoch. Null if unknown.

Link copied to clipboard
abstract val developerName: String

The developer name of the embedded service deployment associated with this conversation.

Link copied to clipboard
abstract val endedAt: Long?

The timestamp when the conversation was closed, in milliseconds since the epoch. Null if still open.

Link copied to clipboard
abstract val identifier: UUID

The unique identifier for this conversation.

Link copied to clipboard

The last entry received from another participant that was marked as read by the local client.

Link copied to clipboard

The most recent ConversationEntry in this conversation.

Link copied to clipboard

The type of modality transition currently in progress, or null if none.

Link copied to clipboard

The last entry sent by the local client that was marked as read by at least one other participant.

Link copied to clipboard

All Participants that have joined this conversation, including inactive ones.

Link copied to clipboard

The pre-chat fields configured for this conversation. Null if pre-chat is not configured.

Link copied to clipboard

The time the pre-chat form was last submitted, in milliseconds since the epoch. Null if not submitted.

Link copied to clipboard

The current lifecycle status of this conversation, derived from createdAt and endedAt.

Link copied to clipboard

The communication modalities supported by this conversation's deployment configuration.

Link copied to clipboard

The terms and conditions configuration. Null if not configured for this deployment.

Link copied to clipboard
abstract val unreadMessageCount: Int

The number of messages not yet read by the local participant. Only counts messages from non-local, non-system participants with entry type ConversationEntryType.Message.