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
Extends
Section titled “Extends”BaseInfo
Extended by
Section titled “Extended by”Properties
Section titled “Properties”mimetype?
Section titled “mimetype?”
optionalmimetype?:string
Defined in: src/@types/media.ts:78
Inherited from
Section titled “Inherited from”BaseInfo.mimetype
optionalsize?:number
Defined in: src/@types/media.ts:79
Inherited from
Section titled “Inherited from”BaseInfo.size
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
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.
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.