github.com/status-im/status-go@v1.1.0/protocol/protobuf/contact.proto (about) 1 syntax = "proto3"; 2 3 option go_package = "./;protobuf"; 4 package protobuf; 5 6 message ContactRequestPropagatedState { 7 uint64 local_clock = 1; 8 uint64 local_state = 2; 9 uint64 remote_clock = 3; 10 uint64 remote_state = 4; 11 } 12 13 message ContactUpdate { 14 uint64 clock = 1; 15 string ens_name = 2; 16 string profile_image = 3; 17 string display_name = 4; 18 uint64 contact_request_clock = 5; 19 ContactRequestPropagatedState contact_request_propagated_state = 6; 20 string public_key = 7; 21 uint32 customization_color = 8; 22 } 23 24 message AcceptContactRequest { 25 string id = 1; 26 uint64 clock = 2; 27 } 28 29 message RetractContactRequest { 30 string id = 1; 31 uint64 clock = 2; 32 }