0
0
Fork 0
matrix-doc/event-schemas/schema/m.typing

32 lines
841 B
Plaintext

{
"type": "object",
"title": "Typing Event",
"description": "Informs the client of the list of users currently typing.",
"allOf": [{
"$ref": "core-event-schema/event.yaml"
}],
"properties": {
"content": {
"type": "object",
"properties": {
"user_ids": {
"type": "array",
"items": {
"type": "string"
},
"description": "The list of user IDs typing in this room, if any."
}
},
"required": ["user_ids"]
},
"type": {
"type": "string",
"enum": ["m.typing"]
},
"room_id": {
"type": "string"
}
},
"required": ["type", "room_id", "content"]
}