Replace

constructor(replacedBy: EventId?, history: List<EventId>)

Parameters

replacedBy

Event, that replaces the event. Null, if there is no replacement.

history

List of all events replacing the event. Sorted ascending by MessageEvent.originTimestamp.