mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-02-04 05:13:42 +01:00
Move m.file thumbnail_url to be inside info to match m.video
This commit is contained in:
parent
25b41c7551
commit
14d05464ee
|
|
@ -20,21 +20,21 @@ properties:
|
|||
size:
|
||||
description: The size of the file in bytes.
|
||||
type: integer
|
||||
thumbnail_info:
|
||||
allOf:
|
||||
- $ref: core-event-schema/msgtype_infos/image_info.yaml
|
||||
description: Metadata about the image referred to in ``thumbnail_url``.
|
||||
title: ImageInfo
|
||||
type: object
|
||||
thumbnail_url:
|
||||
description: The URL to the thumbnail of the file.
|
||||
type: string
|
||||
title: FileInfo
|
||||
type: object
|
||||
msgtype:
|
||||
enum:
|
||||
- m.file
|
||||
type: string
|
||||
thumbnail_info:
|
||||
allOf:
|
||||
- $ref: core-event-schema/msgtype_infos/image_info.yaml
|
||||
description: Metadata about the image referred to in ``thumbnail_url``.
|
||||
title: ImageInfo
|
||||
type: object
|
||||
thumbnail_url:
|
||||
description: The URL to the thumbnail of the file.
|
||||
type: string
|
||||
url:
|
||||
description: The URL to the file.
|
||||
type: string
|
||||
|
|
|
|||
Loading…
Reference in a new issue