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.
31 lines
1.2 KiB
Plaintext
31 lines
1.2 KiB
Plaintext
{
|
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
"type": "object",
|
|
"title": "MessageFeedback",
|
|
"description": "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. N.B. not implemented in Synapse, and superceded in v2 CS API by the ``relates_to`` event field.",
|
|
"allOf": [{
|
|
"$ref": "core/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"]
|
|
}
|
|
}
|
|
}
|