VideoInfo
Defined in: src/@types/media.ts:136
Information on media attachments of msgtype m.video
Used within m.room.message events that reference video files.
https://spec.matrix.org/v1.11/client-server-api/#mvideo
Extends
Section titled “Extends”Properties
Section titled “Properties”duration?
Section titled “duration?”
optionalduration?:number
Defined in: src/@types/media.ts:140
The duration of the video in milliseconds.
Overrides
Section titled “Overrides”
optionalh?:number
Defined in: src/@types/media.ts:70
The intended display height of the image in pixels. This may differ from the intrinsic dimensions of the image file.
Inherited from
Section titled “Inherited from”mimetype?
Section titled “mimetype?”
optionalmimetype?:string
Defined in: src/@types/media.ts:78
Inherited from
Section titled “Inherited from”
optionalsize?:number
Defined in: src/@types/media.ts:79
Inherited from
Section titled “Inherited from”thumbnail_file?
Section titled “thumbnail_file?”
optionalthumbnail_file?:EncryptedFile
Defined in: src/@types/media.ts:95
Information on the encrypted thumbnail file, as specified in End-to-end encryption. Only present if the thumbnail is encrypted.
https://spec.matrix.org/v1.11/client-server-api/#sending-encrypted-attachments
Inherited from
Section titled “Inherited from”thumbnail_info?
Section titled “thumbnail_info?”
optionalthumbnail_info?:ThumbnailInfo
Defined in: src/@types/media.ts:99
Metadata about the image referred to in thumbnail_url.
Inherited from
Section titled “Inherited from”thumbnail_url?
Section titled “thumbnail_url?”
optionalthumbnail_url?:string
Defined in: src/@types/media.ts:103
The URL to the thumbnail of the file. Only present if the thumbnail is unencrypted.
Inherited from
Section titled “Inherited from”
optionalw?:number
Defined in: src/@types/media.ts:65
The intended display width of the image in pixels. This may differ from the intrinsic dimensions of the image file.