gmessages/libgm/binary/raw/client.proto

44 lines
789 B
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 SendMessage {
messages.Device pairedDevice = 1;
messages.MessageData messageData = 2;
messages.AuthMessage authData = 3;
2023-06-30 13:26:46 +00:00
int64 TTL = 5;
2023-06-30 09:54:08 +00:00
messages.EmptyArr emptyArr = 9;
}
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;
messages.AuthMessage authData = 2;
2023-06-30 09:54:08 +00:00
}
message BugleBackendService {
BugleCode data = 6;
}
message BugleCode {
int64 type = 2;
}