get Timeline Events Around
open override fun getTimelineEventsAround(startFrom: EventId, roomId: RoomId, maxSizeBefore: StateFlow<Int>, maxSizeAfter: StateFlow<Int>, decryptionTimeout: Duration, fetchTimeout: Duration, limitPerFetch: Long): Flow<List<Flow<TimelineEvent?>>>
Returns all timeline events around a starting event. This also triggers decryption for each timeline event.
The size of the returned list can be expanded in 2 directions: before and after the start element.
Parameters
start From
the start event id
max Size Before
how many events to possibly get before the start event
max Size After
how many events to possibly get after the start event