Conversation

data class Conversation(val id: ConversationId, val members: List<PublicKey>, val subject: String, val subjectIcon: AttachmentMetadata?, val lastMessage: Message?, val messageCount: UInt, val unreadCount: UInt, val archived: Boolean, val pinned: Boolean, val readCursor: MessageCursor?, val forcedUnread: Boolean, val draft: ConversationDraft?, val lastActivityAt: Long)

Complete bounded conversation row consumed directly by Android UI.

Constructors

Link copied to clipboard
constructor(id: ConversationId, members: List<PublicKey>, subject: String, subjectIcon: AttachmentMetadata?, lastMessage: Message?, messageCount: UInt, unreadCount: UInt, archived: Boolean, pinned: Boolean, readCursor: MessageCursor?, forcedUnread: Boolean, draft: ConversationDraft?, lastActivityAt: Long)

Properties

Link copied to clipboard

Whether the local conversation is archived.

Link copied to clipboard

Portable unsent draft, or null.

Link copied to clipboard

Whether the user explicitly marked the conversation unread.

Link copied to clipboard

Stable participant-set identifier.

Link copied to clipboard

Newest relevant timestamp in Unix seconds.

Link copied to clipboard

Newest effective message, or null for an empty conversation.

Link copied to clipboard

Canonical participant keys including the local account.

Link copied to clipboard

Number of effective durable messages.

Link copied to clipboard

Whether the local conversation is pinned.

Link copied to clipboard

Exact portable read boundary.

Link copied to clipboard

Effective authenticated subject text.

Link copied to clipboard

Effective authenticated subject icon.

Link copied to clipboard

Number of effective messages beyond the read boundary.