This commit is contained in:
ycc
2025-05-04 09:56:09 +02:00
parent ec8924d05a
commit 7e68a12adb
14 changed files with 1014 additions and 374 deletions

View File

@ -47,6 +47,13 @@ message Meet {
string message = 3; // short description
}
message Credentials {
string login = 1; // login
string password = 2; // password
string public_key = 3; // public key
string private_key = 4; // private key
}
// structure defining a message for a server, that will be encrypted, then sent in a "packedmessage" payload
message ToServerMessage {
string type = 1; // Type 1 : final destination / 2 : forward
@ -70,6 +77,8 @@ message ToServerMessage {
int64 timeout = 11; // timeout expected by the client for the server to answer (long polling)
VideoData video_data = 12; // video call data
Credentials credentials = 13; // credentials for a new user or mandatory server creds
}
@ -91,7 +100,7 @@ message FromServerMessage {
VideoData video_data = 10; // video call data
repeated ContactCard contactCard = 11; // contact list for a personae
repeated ContactCard contact_card = 11; // contact list for a personae
}
message MatriochkaServer {
@ -168,7 +177,7 @@ message UserMessage {
ServerCard knownServers = 7;
Group group = 8;
repeated File files = 9;
Location currentLocation = 10;
Location current_location = 10;
bytes appdata = 11;
Invitation invitation = 12;
VideoData video_data = 13;