cwtch-profile.proto 469 B

1234567891011121314151617181920
  1. syntax = "proto3";
  2. package protocol;
  3. message CwtchPeerPacket {
  4. CwtchIdentity cwtch_identify = 1;
  5. GroupChatInvite group_chat_invite = 2;
  6. }
  7. message CwtchIdentity {
  8. string name = 1;
  9. bytes ed25519_public_key = 2;
  10. }
  11. // [name] has invited you to join a group chat: [message]
  12. message GroupChatInvite {
  13. string group_name = 1;
  14. bytes group_shared_key = 2;
  15. string server_host = 3;
  16. bytes signed_group_id = 4;
  17. }