Merge pull request #2053 from matrix-org/travis/1.0/required-urls

Make url required for m.file-like messages
pull/977/head
Travis Ralston 6 years ago committed by GitHub
commit a2f955b50d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1 @@
Clarify the required fields on ``m.file`` (and similar) messages.

@ -38,6 +38,7 @@ properties:
required: required:
- msgtype - msgtype
- body - body
- url
type: object type: object
type: type:
enum: enum:

@ -53,7 +53,7 @@ properties:
required: required:
- msgtype - msgtype
- body - body
- filename - url
type: object type: object
type: type:
enum: enum:

@ -28,6 +28,7 @@ properties:
required: required:
- msgtype - msgtype
- body - body
- url
type: object type: object
type: type:
enum: enum:

@ -59,6 +59,7 @@ properties:
required: required:
- msgtype - msgtype
- body - body
- url
type: object type: object
type: type:
enum: enum:

Loading…
Cancel
Save