lib
jvm
lib
/
app.cash.nostrino.model
/
EmojiReact
Emoji
React
jvm
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.
Members
Constructors
Emoji
React
Link copied to clipboard
jvm
constructor
(
emoji
:
String
,
eventId
:
ByteString
,
authorPubKey
:
PubKey
,
tags
:
List
<
Tag
>
=
listOf(EventTag(eventId), PubKeyTag(authorPubKey))
)
Properties
author
Pub
Key
Link copied to clipboard
jvm
open
override
val
authorPubKey
:
PubKey
emoji
Link copied to clipboard
jvm
val
emoji
:
String
event
Id
Link copied to clipboard
jvm
open
override
val
eventId
:
ByteString
kind
Link copied to clipboard
jvm
open
override
val
kind
:
Int
tags
Link copied to clipboard
jvm
open
override
val
tags
:
List
<
Tag
>
Functions
as
Zap
Request
Link copied to clipboard
jvm
open
fun
asZapRequest
(
)
:
ZapRequest
?
sign
Link copied to clipboard
jvm
open
fun
sign
(
sec
:
SecKey
)
:
Event
to
Json
String
Link copied to clipboard
jvm
open
override
fun
toJsonString
(
)
:
String