Skip to content

Commit

Permalink
Merge pull request #59 from juzibot/feat/batch-op-tag
Browse files Browse the repository at this point in the history
  • Loading branch information
binsee authored Feb 23, 2024
2 parents eeb8ce6 + 6e838b6 commit b3d2b27
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 9 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@juzi/wechaty-grpc",
"version": "1.0.78",
"version": "1.0.79",
"description": "gRPC for Wechaty",
"type": "module",
"exports": {
Expand Down
26 changes: 18 additions & 8 deletions proto/wechaty/puppet/tag.proto
Original file line number Diff line number Diff line change
Expand Up @@ -55,30 +55,40 @@ message TagGroupDeleteRequest {
message TagGroupDeleteResponse {
}

message TagTagInfo {
string tag_id = 1;
string tag_name = 2;
}

message TagTagAddRequest {
string tag_name = 1;
string tag_group_id = 2;
string deprecated_tag_name = 1 [deprecated = true];
string tag_group_id = 2;
repeated string tag_name = 3;
}

message TagTagAddResponse {
string tag_id = 1;
string deprecated_tag_id = 1 [deprecated = true];
repeated TagTagInfo tag_info = 2;
}

message TagTagDeleteRequest {
string tag_id = 1;
string deprecated_tag_id = 1 [deprecated = true];
repeated string tag_id = 2;
}

message TagTagDeleteResponse {
}

message TagTagModifyRequest {
string tag_id = 1;
string tag_new_name = 2;
string deprecated_tag_id = 1 [deprecated = true];
string deprecated_tag_new_name = 2 [deprecated = true];
repeated TagTagInfo tag_new_info = 3;
}

message TagTagModifyResponse {
string tag_id = 1;
string tag_name = 2;
string deprecated_tag_id = 1 [deprecated = true];
string deprecated_tag_name = 2 [deprecated = true];
repeated TagTagInfo tag_info = 3;
}

message TagGroupListRequest {
Expand Down

0 comments on commit b3d2b27

Please sign in to comment.