From b3fa414de9b79fc08ace48c187241acd4ac507cf Mon Sep 17 00:00:00 2001 From: DengBiao <2319963317@qq.com> Date: Fri, 7 Apr 2023 11:47:23 +0800 Subject: [PATCH] =?UTF-8?q?add=20=E6=92=A4=E5=9B=9E=E6=B6=88=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gim/logic.ext.proto | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/gim/logic.ext.proto b/gim/logic.ext.proto index f034c99..3e43ae8 100644 --- a/gim/logic.ext.proto +++ b/gim/logic.ext.proto @@ -49,6 +49,8 @@ service LogicExt { rpc GetGroupMembers (GetGroupMembersReq) returns (GetGroupMembersResp); // 设置禁言 rpc SetGroupBannedMembers (SetGroupMemberBannedReq) returns (SetGroupMemberBannedResp); + // 取消禁言 + rpc SetGroupRemoveBannedMembers (SetGroupMemberRemoveBannedReq) returns (Empty); // 获取群组禁言成员 rpc GetGroupBannedMembers (GetGroupBannedMembersReq) returns (GetGroupBannedMembersResp); } @@ -246,8 +248,12 @@ message GroupMember { message SetGroupMemberBannedReq { int64 group_id = 1; // 群组id repeated int64 user_ids = 2; // 用户id列表 - repeated int64 remove_user_ids = 3; // 解除用户id列表 - AllMemberBannedType is_all_member_banned = 4; // 全员禁言(1:是 2:否) + AllMemberBannedType is_all_member_banned = 3; // 全员禁言(1:是 2:否) +} + +message SetGroupMemberRemoveBannedReq { + int64 group_id = 1; // 群组id + repeated int64 remove_user_ids = 2; // 解除用户id列表 } enum AllMemberBannedType {