twonly-app/lib/src/model/protobuf/client/data.proto

20 lines
No EOL
403 B
Protocol Buffer

syntax = "proto3";
message SharedContact {
int64 user_id = 1;
bytes public_identity_key = 2;
string display_name = 3;
}
message AdditionalMessageData {
enum Type {
LINK = 0;
CONTACTS = 1;
RESTORED_FLAME_COUNTER = 2;
}
Type type = 1;
optional string link = 2;
repeated SharedContact contacts = 3;
optional int64 restored_flame_counter = 4;
}