|
|
@@ -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 { |
|
|
|