AttachmentCodec

data class AttachmentCodec(var contentType: ContentTypeId = ContentTypeAttachment) : ContentCodec<Attachment>

Constructors

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

Functions

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

Properties

Link copied to clipboard
open override var contentType: ContentTypeId