Source

models/unstable/MediaInfo.ts

  1. /**
  2. * This interface implements the schema defined in [MSC2380](https://github.com/matrix-org/matrix-doc/pull/2380).
  3. * @category Unstable APIs
  4. */
  5. export interface MSC2380MediaInfo {
  6. content_type: string;
  7. width?: number;
  8. height?: number;
  9. size: number;
  10. thumbnails?: {
  11. width: number;
  12. height: number;
  13. ready: boolean;
  14. }[];
  15. duration?: number;
  16. }