Skip to content

ImageInfo

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

Information on media attachments of msgtype m.image

Used within m.room.message events that reference images.

https://spec.matrix.org/v1.11/client-server-api/#mimage

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.

ThumbnailInfo.h


optional mimetype?: string

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

FileInfo.mimetype


optional size?: number

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

FileInfo.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

FileInfo.thumbnail_file


optional thumbnail_info?: ThumbnailInfo

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

Metadata about the image referred to in thumbnail_url.

FileInfo.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.

FileInfo.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.

ThumbnailInfo.w