Clarify MSC URI string formats in m.video msgtype

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
Kévin Commaille 2026-05-01 08:42:35 +02:00
parent cf8b3b814b
commit 4a3895ef4c
No known key found for this signature in database
GPG key ID: F26F4BE20A08255B

View file

@ -54,6 +54,8 @@ properties:
The URL (typically [`mxc://` URI](/client-server-api/#matrix-content-mxc-uris)) to an image thumbnail of
the video clip. Only present if the thumbnail is unencrypted.
type: string
format: mx-mxc-uri
pattern: "^mxc:\\/\\/"
thumbnail_file:
description: |-
Information on the encrypted thumbnail file, as specified in
@ -76,6 +78,8 @@ properties:
Required if the file is unencrypted. The URL (typically [`mxc://` URI](/client-server-api/#matrix-content-mxc-uris))
to the video clip.
type: string
format: mx-mxc-uri
pattern: "^mxc:\\/\\/"
file:
description: |-
Required if the file is encrypted. Information on the encrypted