Skip to content

Commit

Permalink
feat: 🎸 search type
Browse files Browse the repository at this point in the history
  • Loading branch information
hcfw007 committed Feb 28, 2024
1 parent b3d2b27 commit ed322ac
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions proto/wechaty/puppet/friendship.proto
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ option csharp_namespace = "github.wechaty.grpc.puppet";

import "google/protobuf/wrappers.proto";
import "wechaty/puppet/referrer.proto";
import "wechaty/puppet/contact.proto";

enum FriendshipType { // 事件类型
FRIENDSHIP_TYPE_UNSPECIFIED = 0; // 不明确
Expand Down Expand Up @@ -55,6 +56,7 @@ message FriendshipPayloadResponse {

message FriendshipSearchPhoneRequest {
string phone = 1;
ContactType type = 2;
}
message FriendshipSearchPhoneResponse {
// nullable
Expand Down Expand Up @@ -85,6 +87,7 @@ message FriendshipSearchHandleRequest {
* TODO: rename `weixin` to `handle` in v2.0.0
*/
string weixin = 1;
ContactType type = 2;
}
message FriendshipSearchHandleResponse {
// nullable
Expand Down

0 comments on commit ed322ac

Please sign in to comment.