TimelineEvent
data class TimelineEvent(val event: ClientEvent.RoomEvent<*>, val content: Result<RoomEventContent>? = if (event.isEncrypted) null else Result.success(event.content), val previousEventId: EventId? = null, val nextEventId: EventId? = null, val gap: TimelineEvent.Gap? = null)
Constructors
Link copied to clipboard
constructor(event: ClientEvent.RoomEvent<*>, content: Result<RoomEventContent>? = if (event.isEncrypted) null else Result.success(event.content), previousEventId: EventId? = null, nextEventId: EventId? = null, gap: TimelineEvent.Gap? = null)
Types
Link copied to clipboard
class Serializer(mappings: Set<EventContentSerializerMapping<out RoomEventContent>>, storeTimelineEventContentUnencrypted: Boolean) : KSerializer<TimelineEvent>
Link copied to clipboard
Properties
Link copied to clipboard
The content may be replaced by another events content.
Link copied to clipboard
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
Link copied to clipboard