Interface FileInfo

Information on media attachments of msgtype m.file

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

interface FileInfo {
    mimetype?: string;
    size?: number;
    thumbnail_file?: EncryptedFile;
    thumbnail_info?: ThumbnailInfo;
    thumbnail_url?: string;
}

Hierarchy (view full)

Properties

mimetype?: string
size?: number
thumbnail_file?: EncryptedFile

Information on the encrypted thumbnail file, as specified in End-to-end encryption. Only present if the thumbnail is encrypted.

thumbnail_info?: ThumbnailInfo

Metadata about the image referred to in thumbnail_url.

thumbnail_url?: string

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