Readonly
accountOptional
onRest
...args: any[]Get account data event by event type
The event type being queried
Fetches the oldest batch of to-device messages in the queue
Returns the out-of-band membership events for this room that were previously loaded.
the events, potentially an empty array if OOB loading didn't yield any new members
in case the members for this room haven't been stored yet
Retrieve a summary of all the rooms.
A summary of each room.
Promise which resolves with a sync response to restore the client state to where it was at the last save, or null if there is no saved sync data.
Stores batches of outgoing to-device messages
Retrieve scrollback for this room.
An array of objects which will be at most 'limit' length and at least 0. The objects are the raw event JSON.
The matrix room
The max number of old events to retrieve.
Stores the out-of-band membership events for this room. Note that it still makes sense to store an empty array as the OOB status for the room is marked as fetched, and getOutOfBandMembers will return an empty array instead of null
when all members have been stored
the membership events to store
setSyncData does nothing as there is no backing data store.
An immediately resolved promise.
The sync data
Store user-scoped account data events
The events to store.
Store events for a room.
The room to store events for.
The events to store.
The token associated with these events.
True if these are paginated results.
Generated using TypeDoc
A store for most of the data js-sdk needs to store, apart from crypto data