init

abstract suspend fun init(startFrom: EventId): List<Flow<TimelineEvent>>

Initialize the timeline with the start event.

Consider wrapping this method call in a timeout, since it might fetch the start event from the server if it is not found locally.

Return

The initial list of events loaded into the timeline.

Parameters

startFrom

The event id to try start timeline generation from. Default: last room event id