gmessages/libgm/binary/raw/client.proto

75 lines
1.3 KiB
Protocol Buffer
Raw Normal View History

2023-06-30 09:54:08 +00:00
syntax = "proto3";
package client;
option go_package = "../../binary";
import "messages.proto";
message NotifyDittoActivityPayload {
2023-07-15 22:56:11 +00:00
// This is not actually a boolean: after logging out, field 2 has value 2, and field 3 has value 1.
bool success = 2;
}
2023-07-15 11:38:24 +00:00
message MessageReadPayload {
string conversationID = 2;
string messageID = 3;
}
2023-06-30 09:54:08 +00:00
message AckMessagePayload {
messages.AuthMessage authData = 1;
messages.EmptyArr emptyArr = 2;
repeated AckMessageData acks = 4;
2023-06-30 09:54:08 +00:00
}
message AckMessageData {
2023-06-30 13:26:46 +00:00
string requestID = 1;
2023-06-30 09:54:08 +00:00
messages.Device device = 2;
}
message ImageMetaData {
2023-06-30 13:26:46 +00:00
string imageID = 1;
2023-06-30 09:54:08 +00:00
bool encrypted = 2;
}
message UploadImagePayload {
ImageMetaData metaData = 1;
messages.AuthMessage authData = 2;
2023-06-30 09:54:08 +00:00
}
message BugleBackendService {
BugleCode data = 6;
}
message BugleCode {
int64 type = 2;
}
enum BugleMessageType {
UNKNOWN_BUGLE_MESSAGE_TYPE = 0;
SMS = 1;
MMS = 2;
RCS = 3;
CLOUD_SYNC = 4;
IMDN_DELIVERED = 5;
IMDN_DISPLAYED = 6;
IMDN_FALLBACK = 7;
RCS_GENERIC = 8;
FTD = 9;
FT_E2EE_LEGACY = 10;
FT_E2EE_XML = 11;
LIGHTER_MESSAGE = 12;
RBM_SPAM_REPORT = 13;
SATELLITE = 14;
}
enum BrowserTypes {
UNKNOWN_BROWSER_TYPE = 0;
OTHER = 1;
CHROME = 2;
FIREFOX = 3;
SAFARI = 4;
OPERA = 5;
IE = 6;
EDGE = 7;
}