gmessages/libgm/gmproto/settings.proto

88 lines
1.6 KiB
Protocol Buffer
Raw Normal View History

2023-06-30 09:54:08 +00:00
syntax = "proto3";
package settings;
2023-07-17 13:51:31 +00:00
option go_package = "../gmproto";
2023-06-30 09:54:08 +00:00
message Settings {
repeated SIMCard SIMCards = 2;
SomeData opCodeData = 3;
RCSSettings RCSSettings = 4;
string bugleVersion = 5;
2023-06-30 09:54:08 +00:00
bool bool1 = 7;
BooleanFields2 boolFields2 = 8;
2023-07-31 16:54:31 +00:00
bytes mysteriousBytes = 9;
2023-06-30 09:54:08 +00:00
BooleanFields3 boolFields3 = 10;
}
message SIMCard {
optional RCSChats RCSChats = 3;
SIMData SIMData = 5;
2023-06-30 09:54:08 +00:00
bool bool1 = 6;
SIMParticipant SIMParticipant = 7;
2023-06-30 09:54:08 +00:00
}
message RCSChats {
bool enabled = 1;
}
2023-06-30 09:54:08 +00:00
message BoolMsg {
bool bool1 = 1;
}
message SIMPayload {
int32 two = 1;
int32 SIMNumber = 2;
}
message SIMData {
SIMPayload SIMPayload = 1;
2023-06-30 09:54:08 +00:00
bool bool1 = 2;
string carrierName = 3;
string hexHash = 4;
int64 int1 = 5;
}
message UnknownMessage {
int64 int1 = 1;
int64 int2 = 2;
}
message SIMParticipant {
string ID = 1;
2023-06-30 09:54:08 +00:00
}
message SomeData {
2023-06-30 09:54:08 +00:00
bool field7 = 7;
bool field12 = 12;
repeated bytes someEmojis = 15;
2023-06-30 09:54:08 +00:00
string jsonData = 16;
string someString = 17;
2023-06-30 09:54:08 +00:00
}
message RCSSettings {
bool isEnabled = 1;
bool sendReadReceipts = 2;
bool showTypingIndicators = 3;
2023-08-30 17:45:14 +00:00
bool isDefaultSMSApp = 4; // uncertain, but this field seems to disappear when gmessages is un-defaulted
2023-06-30 09:54:08 +00:00
}
message BooleanFields2 {
bool bool1 = 1;
bool bool2 = 2;
BoolMsg boolMsg1 = 3;
BoolMsg boolMsg2 = 5;
bool bool3 = 6;
}
message BooleanFields3 {
bool bool1 = 1;
bool bool3 = 3;
bool bool4 = 4;
bool bool5 = 5;
bool bool6 = 6;
bool bool7 = 7;
bool bool8 = 8;
bool bool9 = 9;
2023-06-30 13:00:52 +00:00
}