library
androidJvm
library
/
org.xmtp.android.library.codecs
/
ReactionV2Codec
Reaction
V2Codec
data
class
ReactionV2Codec
(
var
contentType
:
ContentTypeId
=
ContentTypeReactionV2
)
:
ContentCodec
<
FfiReaction
>
Members
Constructors
Reaction
V2Codec
Link copied to clipboard
constructor
(
contentType
:
ContentTypeId
=
ContentTypeReactionV2
)
Functions
decode
Link copied to clipboard
open
override
fun
decode
(
content
:
EncodedContent
)
:
FfiReaction
encode
Link copied to clipboard
open
override
fun
encode
(
content
:
FfiReaction
)
:
EncodedContent
fallback
Link copied to clipboard
open
override
fun
fallback
(
content
:
FfiReaction
)
:
String
?
should
Push
Link copied to clipboard
open
override
fun
shouldPush
(
content
:
FfiReaction
)
:
Boolean
Properties
content
Type
Link copied to clipboard
open
override
var
contentType
:
ContentTypeId