2023-06-30 09:54:08 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
package client;
|
|
|
|
|
|
|
|
option go_package = "../../binary";
|
|
|
|
|
|
|
|
import "messages.proto";
|
|
|
|
|
2023-07-09 11:16:52 +00:00
|
|
|
message NotifyDittoActivityPayload {
|
|
|
|
bool success = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message AckMessageResponse {
|
|
|
|
AckContainer container = 1;
|
|
|
|
}
|
|
|
|
message AckContainer {
|
|
|
|
AckData data = 1;
|
|
|
|
}
|
|
|
|
message AckData {
|
|
|
|
AckAmount ackAmount = 4;
|
|
|
|
}
|
|
|
|
message AckAmount {
|
|
|
|
int32 count = 1;
|
2023-06-30 09:54:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
message AckMessagePayload {
|
|
|
|
messages.AuthMessage authData = 1;
|
|
|
|
messages.EmptyArr emptyArr = 2;
|
|
|
|
bytes noClue = 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
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;
|
|
|
|
}
|