Attachment

Represents different types of content that can be attached to messages. Check nested implementation classes for supported formats and details.

Inheritors

Properties

Link copied to clipboard

Attachment content.

Link copied to clipboard
abstract val fileName: String?

Optional file name of the attachment file.

Link copied to clipboard
abstract val format: String

File format (usually file extension) of the attachment file. E.g. jpg, png, mp4, pdf.

Link copied to clipboard
abstract val mimeType: String

MIME type of the attachment E.g. image/jpg, video/mp4