Update to latest backup tests.

This commit is contained in:
Greyson Parrelli
2025-11-05 10:09:31 -05:00
committed by Michelle Tang
parent b2013e5d75
commit 677686fa40
562 changed files with 132 additions and 2 deletions

View File

@@ -68,6 +68,26 @@ message AccountData {
Color color = 3;
}
enum SentMediaQuality {
UNKNOWN_QUALITY = 0; // Interpret as "Standard"
STANDARD = 1;
HIGH = 2;
}
message AutoDownloadSettings {
enum AutoDownloadOption {
UNKNOWN = 0; // Interpret as "Never"
NEVER = 1;
WIFI = 2;
WIFI_AND_CELLULAR = 3;
}
AutoDownloadOption images = 1;
AutoDownloadOption audio = 2;
AutoDownloadOption video = 3;
AutoDownloadOption documents = 4;
}
message AccountSettings {
bool readReceipts = 1;
bool sealedSenderIndicators = 2;
@@ -91,6 +111,12 @@ message AccountData {
bool optimizeOnDeviceStorage = 20;
// See zkgroup for integer particular values. Unset if backups are not enabled.
optional uint64 backupTier = 21;
bool showSealedSenderIndicators = 22;
SentMediaQuality defaultSentMediaQuality = 23;
AutoDownloadSettings autoDownloadSettings = 24;
reserved /* wifiAutoDownloadSettings */ 25;
optional uint32 screenLockTimeoutMinutes = 26; // If unset, consider screen lock to be disabled.
optional bool pinReminders = 27; // If unset, consider pin reminders to be enabled.
}
message SubscriberData {
@@ -111,6 +137,11 @@ message AccountData {
}
}
message AndroidSpecificSettings {
bool useSystemEmoji = 1;
bool screenshotSecurity = 2;
}
bytes profileKey = 1;
optional string username = 2;
UsernameLink usernameLink = 3;
@@ -122,6 +153,9 @@ message AccountData {
AccountSettings accountSettings = 9;
IAPSubscriberData backupsSubscriberData = 10;
string svrPin = 11;
AndroidSpecificSettings androidSpecificSettings = 12;
string bioText = 13;
string bioEmoji = 14;
}
message Recipient {