mtx::requests::QueryKeys struct

Query the keys of devices of specific users.

Public variables

uint64_t timeout
The time (in milliseconds) to wait when downloading keys from remote servers.
std::map<std::string, std::vector<std::string>> device_keys
The keys to be downloaded. A map from user ID, to a list of device IDs, or to an empty list to indicate all devices for the corresponding user.
std::string token
If the client is fetching keys as a result of a device update received in a sync request, this should be the 'since' token of that sync request, or any later sync token. This allows the server to ensure its response contains the keys advertised by the notification in that sync.