1615e146b6
Co-authored-by: zero <108243503+0xzer@users.noreply.github.com>
81 lines
1.3 KiB
Protocol Buffer
81 lines
1.3 KiB
Protocol Buffer
syntax = "proto3";
|
|
package client;
|
|
|
|
option go_package = "../../binary";
|
|
|
|
import "messages.proto";
|
|
|
|
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;
|
|
}
|
|
|
|
message AckMessagePayload {
|
|
messages.AuthMessage authData = 1;
|
|
messages.EmptyArr emptyArr = 2;
|
|
bytes noClue = 3;
|
|
}
|
|
|
|
message AckMessageData {
|
|
string requestID = 1;
|
|
messages.Device device = 2;
|
|
}
|
|
|
|
message ImageMetaData {
|
|
string imageID = 1;
|
|
bool encrypted = 2;
|
|
}
|
|
|
|
message UploadImagePayload {
|
|
ImageMetaData metaData = 1;
|
|
messages.AuthMessage authData = 2;
|
|
}
|
|
|
|
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;
|
|
}
|