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.
matrix-spec/event-schemas/schema/core-event-schema/room_event.yaml

38 lines
1.1 KiB
YAML

allOf:
- $ref: event.yaml
description: In addition to the Event fields, Room Events may have the following additional
fields.
properties:
event_id:
description: Required. The globally unique event identifier.
type: string
room_id:
description: Required. The ID of the room associated with this event.
type: string
sender:
description: Required. Contains the fully-qualified ID of the user who *sent*
this event.
type: string
unsigned:
description: Contains optional extra information about the event.
properties:
age:
description: The time in milliseconds that has elapsed since the event was
sent
type: integer
redacted_because:
description: The reason this event was redacted, if it was redacted
type: string
transaction_id:
description: The client-supplied transaction ID, if the client being given
the event is the same one which sent it.
type: string
title: UnsignedData
type: object
required:
- event_id
- room_id
- sender
title: Room Event
type: object