AccountMessage

data class AccountMessage(val eventId: String, val conversationId: String, val authorPublicKey: NostrPublicKey, val createdAt: Long, val content: String, val deleted: Boolean, val edited: Boolean, val replyToEventId: String?)

One authenticated message view.

Raw signed events and rumors remain protocol truth in Rust. This bounded view applies deterministic edit ordering and deletion precedence for UI use.

Constructors

Link copied to clipboard
constructor(eventId: String, conversationId: String, authorPublicKey: NostrPublicKey, createdAt: Long, content: String, deleted: Boolean, edited: Boolean, replyToEventId: String?)

Properties

Link copied to clipboard

Authenticated rumor author.

Link copied to clipboard

Effective text after authorized edits.

Link copied to clipboard

Stable participant-set hash.

Link copied to clipboard

Caller-supplied portable Nostr timestamp.

Link copied to clipboard

Whether an authorized deletion takes precedence.

Link copied to clipboard

Whether content differs because of an authorized edit.

Link copied to clipboard

Canonical logical message event ID.

Link copied to clipboard

Canonical replied-to event ID, or null when not a reply.