Explorar el Código

add 撤回消息

master
DengBiao hace 1 año
padre
commit
b3fa414de9
Se han modificado 1 ficheros con 8 adiciones y 2 borrados
  1. +8
    -2
      gim/logic.ext.proto

+ 8
- 2
gim/logic.ext.proto Ver fichero

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


Cargando…
Cancelar
Guardar