getLastTimelineEvents

abstract fun getLastTimelineEvents(roomId: RoomId, decryptionTimeout: Duration = INFINITE, fetchTimeout: Duration = 1.minutes, limitPerFetch: Long = 20, minSize: Long? = null, maxSize: Long? = null): Flow<Flow<Flow<TimelineEvent>>?>

Returns the last timeline events as flow.

To convert it to a flow of list, toFlowList can be used.

See also