mtx::responses::backup::SessionBackup struct

Responses from the GET /_matrix/client/r0/room_keys/keys/{room_id}/{session_id} endpoint.

Public variables

int64_t first_message_index
Required. The index of the first message in the session that the key can decrypt.
int64_t forwarded_count
Required. The number of times this key has been forwarded via key-sharing between devices.
bool is_verified
Required. Whether the device backing up the key verified the device that the key is from.
EncryptedSessionData session_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.