mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-06-13 19:57:47 +02:00
Clarify MXC URI string formats in m.file msgtype
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
parent
ce1e2565e7
commit
b5c63463ab
|
|
@ -44,6 +44,8 @@ properties:
|
||||||
The URL to the thumbnail of the file. Only present if the
|
The URL to the thumbnail of the file. Only present if the
|
||||||
thumbnail is unencrypted.
|
thumbnail is unencrypted.
|
||||||
type: string
|
type: string
|
||||||
|
format: mx-mxc-uri
|
||||||
|
pattern: "^mxc:\\/\\/"
|
||||||
thumbnail_file:
|
thumbnail_file:
|
||||||
description: |-
|
description: |-
|
||||||
Information on the encrypted thumbnail file, as specified in
|
Information on the encrypted thumbnail file, as specified in
|
||||||
|
|
@ -66,6 +68,8 @@ properties:
|
||||||
Required if the file is unencrypted. The URL (typically [`mxc://` URI](/client-server-api/#matrix-content-mxc-uris))
|
Required if the file is unencrypted. The URL (typically [`mxc://` URI](/client-server-api/#matrix-content-mxc-uris))
|
||||||
to the file.
|
to the file.
|
||||||
type: string
|
type: string
|
||||||
|
format: mx-mxc-uri
|
||||||
|
pattern: "^mxc:\\/\\/"
|
||||||
file:
|
file:
|
||||||
description: |-
|
description: |-
|
||||||
Required if the file is encrypted. Information on the encrypted
|
Required if the file is encrypted. Information on the encrypted
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue