forked from cwtch.im/cwtch
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
469 B
21 lines
469 B
syntax = "proto3";
|
|
package protocol;
|
|
|
|
message CwtchPeerPacket {
|
|
CwtchIdentity cwtch_identify = 1;
|
|
GroupChatInvite group_chat_invite = 2;
|
|
}
|
|
|
|
message CwtchIdentity {
|
|
string name = 1;
|
|
bytes ed25519_public_key = 2;
|
|
}
|
|
|
|
// [name] has invited you to join a group chat: [message]
|
|
message GroupChatInvite {
|
|
string group_name = 1;
|
|
bytes group_shared_key = 2;
|
|
string server_host = 3;
|
|
bytes signed_group_id = 4;
|
|
}
|