mtx::responses::Sync struct

Response from the GET /_matrix/client/r0/sync endpoint.

Public variables

std::string next_batch
The batch token to supply in the since param of the next /sync request.
Rooms rooms
Updates to rooms.
ToDevice to_device
Information on the send-to-device messages for the client device.
std::vector<mtx::events::Event<mtx::events::presence::Presence>> presence
Information about presence of other users.
DeviceLists device_lists
Information on end-to-end device updates,.
std::map<std::string, uint16_t> device_one_time_keys_count
A mapping from algorithm to the number of one time keys the server has for the current device.
std::optional<std::vector<std::string>> device_unused_fallback_key_types
Required. The unused fallback key algorithms. Absence can be used to detect server support.
AccountData account_data
global account data