ReactionV2Codec

data class ReactionV2Codec(var contentType: ContentTypeId = ContentTypeReactionV2) : ContentCodec<FfiReactionPayload>

Constructors

Link copied to clipboard
constructor(contentType: ContentTypeId = ContentTypeReactionV2)

Functions

Link copied to clipboard
open override fun decode(content: EncodedContent): FfiReactionPayload
Link copied to clipboard
open override fun encode(content: FfiReactionPayload): EncodedContent
Link copied to clipboard
open override fun fallback(content: FfiReactionPayload): String?
Link copied to clipboard
open override fun shouldPush(content: FfiReactionPayload): Boolean

Properties

Link copied to clipboard
open override var contentType: ContentTypeId