Add a few things to IMediaEventContent

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner 2021-07-02 13:50:34 +02:00
parent 869f31deef
commit 969be09210
No known key found for this signature in database
GPG key ID: 9760693FDD98A790

View file

@ -32,11 +32,16 @@ export interface IEncryptedFile {
}
export interface IMediaEventContent {
body?: string;
url?: string; // required on unencrypted media
file?: IEncryptedFile; // required for *encrypted* media
info?: {
thumbnail_url?: string; // eslint-disable-line camelcase
thumbnail_file?: IEncryptedFile; // eslint-disable-line camelcase
mimetype: string;
w?: number;
h?: number;
size?: number;
};
}