2023-06-30 09:54:08 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
package client;
|
|
|
|
|
2023-07-17 13:51:31 +00:00
|
|
|
option go_package = "../gmproto";
|
2023-06-30 09:54:08 +00:00
|
|
|
|
|
|
|
import "messages.proto";
|
|
|
|
|
2023-07-09 11:16:52 +00:00
|
|
|
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.
|
2023-07-09 11:16:52 +00:00
|
|
|
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;
|
2023-07-15 12:49:51 +00:00
|
|
|
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;
|
2023-06-30 12:49:32 +00:00
|
|
|
messages.AuthMessage authData = 2;
|
2023-06-30 09:54:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
message BugleBackendService {
|
|
|
|
BugleCode data = 6;
|
|
|
|
}
|
|
|
|
|
|
|
|
message BugleCode {
|
|
|
|
int64 type = 2;
|
2023-06-30 12:49:32 +00:00
|
|
|
}
|
2023-07-09 11:16:52 +00:00
|
|
|
|
|
|
|
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;
|
|
|
|
}
|