2022-03-23 18:47:00 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
option go_package = "./;protobuf";
|
|
|
|
package protobuf;
|
|
|
|
|
|
|
|
message SyncSetting {
|
|
|
|
Type type = 1;
|
|
|
|
uint64 clock = 2;
|
|
|
|
|
|
|
|
oneof value {
|
|
|
|
string value_string = 3;
|
|
|
|
bytes value_bytes = 4;
|
|
|
|
bool value_bool = 5;
|
|
|
|
int64 value_int64 = 6;
|
|
|
|
}
|
|
|
|
|
|
|
|
enum Type {
|
|
|
|
UNKNOWN = 0;
|
|
|
|
CURRENCY = 1;
|
|
|
|
GIF_RECENTS = 2;
|
|
|
|
GIF_FAVOURITES = 3;
|
|
|
|
MESSAGES_FROM_CONTACTS_ONLY = 4;
|
|
|
|
PREFERRED_NAME = 5;
|
|
|
|
PREVIEW_PRIVACY = 6;
|
|
|
|
PROFILE_PICTURES_SHOW_TO = 7;
|
|
|
|
PROFILE_PICTURES_VISIBILITY = 8;
|
|
|
|
SEND_STATUS_UPDATES = 9;
|
|
|
|
STICKERS_PACKS_INSTALLED = 10;
|
|
|
|
STICKERS_PACKS_PENDING = 11;
|
|
|
|
STICKERS_RECENT_STICKERS = 12;
|
2022-11-30 09:41:35 +00:00
|
|
|
DISPLAY_NAME = 13;
|
2023-04-13 00:45:25 +00:00
|
|
|
BIO = 14;
|
|
|
|
MNEMONIC_REMOVED = 15;
|
2023-09-16 01:20:23 +00:00
|
|
|
reserved 16; //do not use this value anymore as it was removed
|
2023-06-28 10:05:06 +00:00
|
|
|
INCLUDE_WATCHONLY_ACCOUNT = 17;
|
2022-03-23 18:47:00 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/* TODOs
|
|
|
|
LastBackup uint64
|
|
|
|
BackupEnabled bool
|
|
|
|
*/
|