Reaction

data class Reaction(val rumor: NostrRumor, val eventId: NostrEventId, val eventAuthors: List<NostrPublicKey>, val eventKind: NostrEventKind, val value: String, val customEmojiUrl: String?)

Typed reaction.

Constructors

Link copied to clipboard
constructor(rumor: NostrRumor, eventId: NostrEventId, eventAuthors: List<NostrPublicKey>, eventKind: NostrEventKind, value: String, customEmojiUrl: String?)

Properties

Link copied to clipboard

URL for a custom emoji, if used.

Link copied to clipboard

Expected authors of the reacted-to event.

Link copied to clipboard

Reacted-to event.

Link copied to clipboard

Expected kind of the reacted-to event.

Link copied to clipboard

Exact validated rumor.

Link copied to clipboard

Reaction text or custom-emoji shortcode.