0
0
Fork 0
matrix-doc/event-schemas/schema/m.room.avatar

28 lines
662 B
Plaintext

---
allOf:
- $ref: core-event-schema/state_event.yaml
description: A picture that is associated with the room. This can be displayed alongside the room information.
properties:
content:
properties:
info:
allOf:
- $ref: core-event-schema/msgtype_infos/image_info.yaml
description: Metadata about the image referred to in ``url``.
url:
description: The URL to the image.
type: string
required:
- url
type: object
state_key:
description: A zero-length string.
pattern: '^$'
type: string
type:
enum:
- m.room.avatar
type: string
title: RoomAvatar
type: object