2015-09-30 12:26:02 +02:00
|
|
|
{
|
2025-08-27 08:39:05 +02:00
|
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
2015-09-30 12:26:02 +02:00
|
|
|
"type": "object",
|
|
|
|
|
"title": "Typing Event",
|
|
|
|
|
"description": "Informs the client of the list of users currently typing.",
|
2016-03-08 15:51:09 +01:00
|
|
|
"allOf": [{
|
|
|
|
|
"$ref": "core-event-schema/event.yaml"
|
|
|
|
|
}],
|
2015-09-30 12:26:02 +02:00
|
|
|
"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"]
|
|
|
|
|
}
|
|
|
|
|
},
|
2022-03-01 17:18:56 +01:00
|
|
|
"required": ["type", "content"]
|
2015-09-30 12:26:02 +02:00
|
|
|
}
|