ReactionCodec

data class ReactionCodec(var contentType: ContentTypeId = ContentTypeReaction) : ContentCodec<Reaction>

Constructors

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

Functions

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

Properties

Link copied to clipboard
open override var contentType: ContentTypeId