VideoContent
Defined in: src/@types/media.ts:231
Content format of media events with msgtype m.video
https://spec.matrix.org/v1.11/client-server-api/#mvideo
Extends
Section titled “Extends”BaseContent
Properties
Section titled “Properties”body:
string
Defined in: src/@types/media.ts:163
If filename is not set or the value of both properties are identical, this is the filename of the original upload. Otherwise, this is a caption for the file.
Inherited from
Section titled “Inherited from”BaseContent.body
optionalfile?:EncryptedFile
Defined in: src/@types/media.ts:153
Required if the file is encrypted. Information on the encrypted file, as specified in End-to-end encryption.
https://spec.matrix.org/v1.11/client-server-api/#sending-encrypted-attachments
Inherited from
Section titled “Inherited from”BaseContent.file
filename?
Section titled “filename?”
optionalfilename?:string
Defined in: src/@types/media.ts:167
The original filename of the uploaded file.
Inherited from
Section titled “Inherited from”BaseContent.filename
format?
Section titled “format?”
optionalformat?:"org.matrix.custom.html"
Defined in: src/@types/media.ts:171
The format used in the formatted_body.
Inherited from
Section titled “Inherited from”BaseContent.format
formatted_body?
Section titled “formatted_body?”
optionalformatted_body?:string
Defined in: src/@types/media.ts:175
The formatted version of the body, when it acts as a caption. This is required if format is specified.
Inherited from
Section titled “Inherited from”BaseContent.formatted_body
optionalinfo?:VideoInfo
Defined in: src/@types/media.ts:235
Metadata about the video clip referred to in url.
msgtype
Section titled “msgtype”msgtype:
Video
Defined in: src/@types/media.ts:239
One of: [m.video].
optionalurl?:string
Defined in: src/@types/media.ts:157
Required if the file is unencrypted. The URL (typically mxc:// URI) to the file.
Inherited from
Section titled “Inherited from”BaseContent.url