Optional
room: RoomPrivate
Readonly
clientPrivate
relationsPrivate
Optional
Readonly
roomThe new child event to be aggregated.
Optional
timelineSet: EventTimelineSetThe event timeline set within which to search for the related event if any.
Set an event as the target event if any Relations exist for it already. Child events can point to other child events as their parent, so this method may be called for events which are also logically child events.
The event to check as relation target.
Get a collection of child events to a given event in this timeline set.
If eventId
, relationType
or eventType
are not valid.
A container for relation events or undefined if there are no relation events for the relationType.
The ID of the event that you'd like to access child events for. For example, with annotations, this would be the ID of the event being annotated.
The type of relationship involved, such as "m.annotation", "m.reference", "m.replace", etc.
The relation event's type, such as "m.reaction", etc.
Generated using TypeDoc
Add relation events to the relevant relation collection.