Video

data class Video(val content: AttachmentContent, val format: String, val mimeType: String = "video/", val fileName: String? = null) : Attachment(source)

Video attachment (mp4, avi, etc.).

Constructors

Link copied to clipboard
constructor(content: AttachmentContent, format: String, mimeType: String = "video/", fileName: String? = null)

Properties

Link copied to clipboard
open override val content: AttachmentContent

Attachment content.

Link copied to clipboard
open override val fileName: String? = null

Optional file name of the attachment file.

Link copied to clipboard
open override val format: String

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

Link copied to clipboard
open override val mimeType: String

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