diff --git a/package.json b/package.json index 8bea621..31a6efb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@juzi/wechaty-grpc", - "version": "1.0.36", + "version": "1.0.37", "description": "gRPC for Wechaty", "type": "module", "exports": { diff --git a/proto/wechaty/puppet.proto b/proto/wechaty/puppet.proto index 45503ef..c3a3339 100644 --- a/proto/wechaty/puppet.proto +++ b/proto/wechaty/puppet.proto @@ -225,6 +225,12 @@ service Puppet { body: "*" }; } + rpc ContactDelete (puppet.ContactDeleteRequest) returns (puppet.ContactDeleteResponse) { + option (google.api.http) = { + put: "/contacts/{contact_id}/delete" + body: "*" + }; + } /** * Huan(202002): consider changing response to a stream in the future for better performance