CoreConversationEntry

data class CoreConversationEntry(val senderDisplayName: String, val conversationId: UUID, val sender: Participant, val payload: EntryPayload, val entryType: ConversationEntryType, val identifier: String, val transcriptedTimestamp: Long? = null, val timestamp: Long = transcriptedTimestamp ?: Date().time, val status: ConversationEntryStatus = ConversationEntryStatus.Sending, val error: NetworkError? = null) : ConversationEntry

Conversation entry class.

See also

Constructors

Link copied to clipboard
constructor(conversationEntry: ConversationEntry)
constructor(senderDisplayName: String, conversationId: UUID, sender: Participant, payload: EntryPayload, entryType: ConversationEntryType, identifier: String, transcriptedTimestamp: Long? = null, timestamp: Long = transcriptedTimestamp ?: Date().time, status: ConversationEntryStatus = ConversationEntryStatus.Sending, error: NetworkError? = null)

Properties

Link copied to clipboard
open override val conversationId: UUID

Unique ID for the conversation.

Link copied to clipboard
open override val entryId: String

ID for this entry.

Link copied to clipboard
open override val entryType: ConversationEntryType

The type of entry.

Link copied to clipboard
open override val error: NetworkError? = null
Link copied to clipboard
open override val identifier: String

Identifier for this entry.

Link copied to clipboard
open override val payload: EntryPayload

Entry payload.

Link copied to clipboard
open override val sender: Participant

Sender information.

Link copied to clipboard
open override val senderDisplayName: String

Display name of sender.

Link copied to clipboard
open override val status: ConversationEntryStatus

Entry status.

Link copied to clipboard
open override val timestamp: Long

Timestamp for this entry.

Link copied to clipboard
val transcriptedTimestamp: Long? = null