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.
30 lines
1.2 KiB
Plaintext
30 lines
1.2 KiB
Plaintext
10 years ago
|
{
|
||
|
"type": "object",
|
||
10 years ago
|
"title": "MessageFeedback",
|
||
9 years ago
|
"description": "**NB: Usage of this event is discouraged in favour of the** `receipts module`_. **Most clients will not recognise this event.** Feedback events are events sent to acknowledge a message in some way. There are two supported acknowledgements: ``delivered`` (sent when the event has been received) and ``read`` (sent when the event has been observed by the end-user). The ``target_event_id`` should reference the ``m.room.message`` event being acknowledged.",
|
||
10 years ago
|
"allOf": [{
|
||
9 years ago
|
"$ref": "core-event-schema/room_event.json"
|
||
10 years ago
|
}],
|
||
|
"properties": {
|
||
|
"content": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"type": {
|
||
|
"type": "string",
|
||
10 years ago
|
"description": "The type of feedback.",
|
||
10 years ago
|
"enum": ["delivered", "read"]
|
||
|
},
|
||
|
"target_event_id": {
|
||
10 years ago
|
"type": "string",
|
||
|
"description": "The event that this feedback is related to."
|
||
10 years ago
|
}
|
||
|
},
|
||
|
"required": ["type", "target_event_id"]
|
||
|
},
|
||
|
"type": {
|
||
|
"type": "string",
|
||
|
"enum": ["m.room.message.feedback"]
|
||
|
}
|
||
|
}
|
||
|
}
|