2020-01-10 18:59:01 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
|
2021-08-06 15:40:23 +00:00
|
|
|
option go_package = "./;protobuf";
|
2020-01-10 18:59:01 +00:00
|
|
|
package protobuf;
|
2022-01-18 16:31:34 +00:00
|
|
|
import "chat_message.proto";
|
2020-01-10 18:59:01 +00:00
|
|
|
|
|
|
|
message ContactUpdate {
|
|
|
|
uint64 clock = 1;
|
|
|
|
string ens_name = 2;
|
|
|
|
string profile_image = 3;
|
2022-02-17 15:13:10 +00:00
|
|
|
string display_name = 4;
|
2022-01-18 16:31:34 +00:00
|
|
|
|
|
|
|
ContactRequestSignature sent_contact_request_signature = 14;
|
|
|
|
ContactRequestSignature received_contact_request_signature = 15;
|
|
|
|
}
|
|
|
|
|
|
|
|
message AcceptContactRequest {
|
|
|
|
string id = 1;
|
|
|
|
uint64 clock = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message RetractContactRequest {
|
|
|
|
string id = 1;
|
|
|
|
uint64 clock = 2;
|
2020-01-10 18:59:01 +00:00
|
|
|
}
|