Timeline Event
data class TimelineEvent(val event: ClientEvent.RoomEvent<*>, val content: Result<RoomEventContent>? = if (event.isEncrypted) null else Result.success(event.content), val previousEventId: EventId?, val nextEventId: EventId?, val gap: TimelineEvent.Gap?)
Constructors
Link copied to clipboard
constructor(event: ClientEvent.RoomEvent<*>, content: Result<RoomEventContent>? = if (event.isEncrypted) null else Result.success(event.content), previousEventId: EventId?, nextEventId: EventId?, gap: TimelineEvent.Gap?)
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns true, when this is the first event of the room (not including room upgrades).
Link copied to clipboard
Returns true, when this is the last known event of the room (not including room upgrades).
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard