Skip to content

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

optional duration?: number

Defined in: src/@types/media.ts:140

The duration of the video in milliseconds.

AudioInfo.duration


optional h?: 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.

ImageInfo.h


optional mimetype?: string

Defined in: src/@types/media.ts:78

AudioInfo.mimetype


optional size?: number

Defined in: src/@types/media.ts:79

AudioInfo.size


optional thumbnail_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

ImageInfo.thumbnail_file


optional thumbnail_info?: ThumbnailInfo

Defined in: src/@types/media.ts:99

Metadata about the image referred to in thumbnail_url.

ImageInfo.thumbnail_info


optional thumbnail_url?: string

Defined in: src/@types/media.ts:103

The URL to the thumbnail of the file. Only present if the thumbnail is unencrypted.

ImageInfo.thumbnail_url


optional w?: 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.

ImageInfo.w