You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
565 B
Plaintext
24 lines
565 B
Plaintext
{
|
|
"type": "object",
|
|
"title": "Direct Message Map Event",
|
|
"description": "Account Data event used to store which rooms are 'direct chats' for which users.",
|
|
"allOf": [{
|
|
"$ref": "core-event-schema/event.yaml"
|
|
}],
|
|
"properties": {
|
|
"type": {
|
|
"type": "string",
|
|
"enum": ["m.direct"]
|
|
},
|
|
"content": {
|
|
"type": "object",
|
|
"description": "Object mapping user IDs to lists of room IDs.",
|
|
"additionalProperties": {
|
|
"title": "User ID",
|
|
"type": "array"
|
|
}
|
|
}
|
|
},
|
|
"required": ["type", "content"]
|
|
}
|