RoomService
Functions
If the room has Membership.LEAVE, you can delete it locally.
Returns the last timeline events as flow.
Returns a Timeline for a room.
Returns the TimelineEvent and starts decryption. If it is not found locally, the algorithm will try to find the event by traversing the events from the end of the timeline (i.e. from the last sent event). This can include filling sync gaps from the server and thus might take a while. Please consider changing the config.
Returns a flow of timeline events wrapped in a flow. It emits, when there is a new timeline event. This flow only completes, when the start of the timeline is reached or GetTimelineEventsConfig.minSize and/or GetTimelineEventsConfig.maxSize are set and reached.
Returns all timeline events around a starting event.
Returns all timeline events around a starting event sorted with higher indexes being more recent.
Returns all timeline events from the moment this method is called. This also triggers decryption for each timeline event.
Puts a message to the outbox.