matrix-spec/event-schemas/schema/m.room.message.feedback
Richard van der Hoff 5b12e2cfef Convert event schemas to yaml
We've decided to make the event schemas YAML, so we might as well take
advantage of it.

(This conversion was done mostly automatically, except for:
 - s/null/"null"/ in m.room.member
 - reformat description in m.room.power_levels
2016-06-22 12:01:08 +01:00

27 lines
972 B
Plaintext

---
allOf:
- $ref: core-event-schema/room_event.yaml
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.'
properties:
content:
properties:
target_event_id:
description: The event that this feedback is related to.
type: string
type:
description: The type of feedback.
enum:
- delivered
- read
type: string
required:
- type
- target_event_id
type: object
type:
enum:
- m.room.message.feedback
type: string
title: MessageFeedback
type: object