mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-01-07 16:33:43 +01:00
As a side effect, I got rid of all of the horrible symlinks and just put in all of the proper relative paths. Because the horrible symlinks were horrible.
30 lines
1.2 KiB
Plaintext
30 lines
1.2 KiB
Plaintext
{
|
|
"type": "object",
|
|
"title": "MessageFeedback",
|
|
"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.",
|
|
"allOf": [{
|
|
"$ref": "core-event-schema/room_event.json"
|
|
}],
|
|
"properties": {
|
|
"content": {
|
|
"type": "object",
|
|
"properties": {
|
|
"type": {
|
|
"type": "string",
|
|
"description": "The type of feedback.",
|
|
"enum": ["delivered", "read"]
|
|
},
|
|
"target_event_id": {
|
|
"type": "string",
|
|
"description": "The event that this feedback is related to."
|
|
}
|
|
},
|
|
"required": ["type", "target_event_id"]
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"enum": ["m.room.message.feedback"]
|
|
}
|
|
}
|
|
}
|