EmojiReact

data class EmojiReact(val emoji: String, val eventId: ByteString, val authorPubKey: PubKey, val tags: List<Tag> = listOf(EventTag(eventId), PubKeyTag(authorPubKey))) : Reaction

Any reaction that isn't an upvote or downvote.

Constructors

Link copied to clipboard
constructor(emoji: String, eventId: ByteString, authorPubKey: PubKey, tags: List<Tag> = listOf(EventTag(eventId), PubKeyTag(authorPubKey)))

Properties

Link copied to clipboard
open override val authorPubKey: PubKey
Link copied to clipboard
Link copied to clipboard
open override val eventId: ByteString
Link copied to clipboard
open override val kind: Int
Link copied to clipboard
open override val tags: List<Tag>

Functions

Link copied to clipboard
Link copied to clipboard
open fun sign(sec: SecKey): Event
Link copied to clipboard
open override fun toJsonString(): String