CoreConversation

data class CoreConversation(val identifier: UUID, val developerName: String, val participants: List<CoreParticipant>, val createdAt: Long? = null, val inboundHighWatermarkEntry: ConversationEntry? = null, val outboundHighWatermarkEntry: ConversationEntry? = null, val preChatFields: List<PreChatField>? = null, val activeParticipants: List<Participant> = emptyList(), val lastActivity: ConversationEntry? = null, val preChatSubmissionTimestamp: Long? = null, val termsAndConditions: TermsAndConditions? = null, val unreadMessageCount: Int = 0) : Conversation

Data for a conversation entity.

See also

Constructors

Link copied to clipboard
constructor(identifier: UUID, developerName: String, participants: List<CoreParticipant>, createdAt: Long? = null, inboundHighWatermarkEntry: ConversationEntry? = null, outboundHighWatermarkEntry: ConversationEntry? = null, preChatFields: List<PreChatField>? = null, activeParticipants: List<Participant> = emptyList(), lastActivity: ConversationEntry? = null, preChatSubmissionTimestamp: Long? = null, termsAndConditions: TermsAndConditions? = null, unreadMessageCount: Int = 0)

Properties

Link copied to clipboard
open override val activeParticipants: List<Participant>

A list of active Participants.

Link copied to clipboard
open override val createdAt: Long? = null
Link copied to clipboard
open override val developerName: String

The developer name.

Link copied to clipboard
open override val identifier: UUID

The conversation's ID.

Link copied to clipboard
open override val inboundHighWatermarkEntry: ConversationEntry? = null

The timestamp of the last entry received, which was marked as read by the local client.

Link copied to clipboard
open override val lastActivity: ConversationEntry? = null

The last active ConversationEntry in a Conversation.

Link copied to clipboard

The timestamp of the last entry sent, which was marked as read by at least one other participant.

Link copied to clipboard
open override val participants: List<CoreParticipant>

A list of Participants in the conversation.

Link copied to clipboard
open override val preChatFields: List<PreChatField>? = null

A list of PreChatFields.

Link copied to clipboard
open override val preChatSubmissionTimestamp: Long? = null

Indicates the time that a Pre-Chat form was last submitted, in milliseconds since the epoch.

Link copied to clipboard
open override val termsAndConditions: TermsAndConditions? = null

A TermsAndConditions object to indicate whether legal Terms and Conditions have been accepted.

Link copied to clipboard
open override val unreadMessageCount: Int = 0

The number of messages that have not yet been read by the local Participant. This count is based on the following criteria: