ConversationReadState

data class ConversationReadState(val conversationId: ConversationId, val boundary: MessageCursor?, val forcedUnread: Boolean, val updatedAt: Long, val updateId: String)

Effective versioned cross-device read state for one conversation.

Constructors

Link copied to clipboard
constructor(conversationId: ConversationId, boundary: MessageCursor?, forcedUnread: Boolean, updatedAt: Long, updateId: String)

Properties

Link copied to clipboard

Last read message, or null before anything is read.

Link copied to clipboard

Stable conversation identifier.

Link copied to clipboard

Explicit unread override.

Link copied to clipboard

Update timestamp in Unix seconds.

Link copied to clipboard

Deterministic tie-breaker for concurrent updates.