Timeline Event
This data class is a wrapper around an Event. It allows to get useful data in the context of a timeline. This class is used by TimelineService Users can also enrich it with metadata.
Constructors
Functions
The method to enrich this timeline event. If you provides multiple data with the same key, only first one will be kept.
Get the metadata associated with a key.
Properties
Extensions
Get the eventId which was edited by this event if any.
Get last MessageContent, after a possible edition.
Get the latest known eventId for an edited event, or the eventId for an Event which has not been edited.
Get the relation content if any.
Get the latest message body, after a possible edition, stripping the reply prefix if necessary.
Tells if the event has been edited.
Returns true if it's a reply.
Returns whether or not the event is a root thread event.