MessageVideoContent

@JsonClass(generateAdapter = true)
data class MessageVideoContent(    @Json(name = "msgtype") val msgType: String,     @Json(name = "body") val body: String,     @Json(name = "info") val videoInfo: VideoInfo? = null,     @Json(name = "url") val url: String? = null,     @Json(name = "m.relates_to") val relatesTo: RelationDefaultContent? = null,     @Json(name = "m.new_content") val newContent: Content? = null,     @Json(name = "file") val encryptedFileInfo: EncryptedFileInfo? = null) : MessageWithAttachmentContent

Constructors

Link copied to clipboard
fun MessageVideoContent(    @Json(name = "msgtype") msgType: String,     @Json(name = "body") body: String,     @Json(name = "info") videoInfo: VideoInfo? = null,     @Json(name = "url") url: String? = null,     @Json(name = "m.relates_to") relatesTo: RelationDefaultContent? = null,     @Json(name = "m.new_content") newContent: Content? = null,     @Json(name = "file") encryptedFileInfo: EncryptedFileInfo? = null)

Properties

Link copied to clipboard
open override val body: String

Required. A description of the video e.g. 'Gangnam style', or some kind of content description for accessibility e.g. 'video attachment'.

Link copied to clipboard
open override val encryptedFileInfo: EncryptedFileInfo? = null

Required if the file is encrypted. Information on the encrypted file, as specified in End-to-end encryption.

Link copied to clipboard
open override val mimeType: String?
Link copied to clipboard
open override val msgType: String

Required. Must be 'm.video'.

Link copied to clipboard
open override val newContent: Content? = null
Link copied to clipboard
open override val relatesTo: RelationDefaultContent? = null
Link copied to clipboard
open override val url: String? = null

Required if the file is unencrypted. The URL (typically MXC URI) to the video clip.

Link copied to clipboard
val videoInfo: VideoInfo? = null

Metadata about the video clip referred to in url.