status-go/protocol/protobuf/contact_verification.proto
Mikhail Rogachev cd9fb48579
feat(ActivityCenter): Add message for canceling contact requests (#2992)
* feat(ActivityCenter): Add message for canceling contact requests

* feat(Contacts): GetVerificationRequestSentTo returns last verification request

* Fix error message in protocol/messenger_contact_verification.go

Co-authored-by: Jonathan Rainville <rainville.jonathan@gmail.com>

Co-authored-by: Jonathan Rainville <rainville.jonathan@gmail.com>
2022-12-14 12:27:02 +04:00

31 lines
486 B
Protocol Buffer

syntax = "proto3";
option go_package = "./;protobuf";
package protobuf;
message RequestContactVerification {
uint64 clock = 1;
string challenge = 3;
}
message AcceptContactVerification {
uint64 clock = 1;
string id = 2;
string response = 3;
}
message ContactVerificationTrusted {
uint64 clock = 1;
string id = 2;
}
message DeclineContactVerification {
uint64 clock = 1;
string id = 2;
}
message CancelContactVerification {
uint64 clock = 1;
string id = 2;
}