mtx::responses::backup::BackupVersion struct

Responses from the GET /_matrix/client/r0/room_keys/version endpoint.

Public variables

std::string algorithm
Required. The algorithm used for storing backups. Must be 'm.megolm_backup.v1.curve25519-aes-sha2'.
std::string auth_data
Required. Algorithm-dependent data. See the documentation for the backup algorithms in Server-side key backups for more information on the expected format of the data.
int64_t count
Required. The number of keys stored in the backup.
std::string etag
Required. An opaque string representing stored keys in the backup. Clients can compare it with the etag value they received in the request of their last key storage request. If not equal, another client has modified the backup.
std::string version
Required. The backup version.