Skip to content

FileInfo

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

Information on media attachments of msgtype m.file

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

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

  • BaseInfo

optional mimetype?: string

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

BaseInfo.mimetype


optional size?: number

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

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


optional thumbnail_info?: ThumbnailInfo

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

Metadata about the image referred to in thumbnail_url.


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.