Source

models/unstable/MediaInfo.ts

/**
 * This interface implements the schema defined in [MSC2380](https://github.com/matrix-org/matrix-doc/pull/2380).
 * @category Unstable APIs
 */
export interface MSC2380MediaInfo {
    content_type: string;
    width?: number;
    height?: number;
    size: number;
    thumbnails?: {
        width: number;
        height: number;
        ready: boolean;
    }[];
    duration?: number;
}