gmessages/libgm/binary/raw/client.proto
2023-06-30 16:26:49 +03:00

43 lines
789 B
Protocol Buffer

syntax = "proto3";
package client;
option go_package = "../../binary";
import "messages.proto";
message SendMessage {
messages.Device pairedDevice = 1;
messages.MessageData messageData = 2;
messages.AuthMessage authData = 3;
int64 TTL = 5;
messages.EmptyArr emptyArr = 9;
}
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;
}