ChatMessage

data class ChatMessage(val rumor: NostrRumor, val participants: List<NostrPublicKey>, val relation: ChatRelation?, val attachments: List<AttachmentMetadata>, val emojiTags: List<List<String>>, val extensionTags: List<List<String>>)

Typed complete kind-14 message with exact raw rumor retained.

Constructors

Link copied to clipboard
constructor(rumor: NostrRumor, participants: List<NostrPublicKey>, relation: ChatRelation?, attachments: List<AttachmentMetadata>, emojiTags: List<List<String>>, extensionTags: List<List<String>>)

Properties

Link copied to clipboard

Parsed attachment metadata.

Link copied to clipboard

Custom-emoji tags in wire order.

Link copied to clipboard

Unrecognized tags retained for forward compatibility.

Link copied to clipboard

Canonical conversation participants.

Link copied to clipboard

Parsed reply or forward relation, if present.

Link copied to clipboard

Exact validated rumor.