1package com.netease.nimlib.sdk.qchat.param;
3import androidx.annotation.NonNull;
4import com.netease.nimlib.sdk.qchat.enums.QChatChannelBlackWhiteOperateType;
5import com.netease.nimlib.sdk.qchat.enums.QChatChannelBlackWhiteType;
15 private final Long serverId;
21 private final Long channelId;
39 private final Long roleId;
50 this.serverId = serverId;
51 this.channelId = channelId;
53 this.operateType = operateType;
QChatChannelBlackWhiteType getType()
获取黑白名单类型
Long getServerId()
获取服务器Id
QChatChannelBlackWhiteOperateType getOperateType()
获取黑白名单操作类型
Long getChannelId()
获取频道Id
QChatUpdateChannelBlackWhiteRolesParam(@NonNull Long serverId, @NonNull Long channelId, @NonNull QChatChannelBlackWhiteType type, @NonNull QChatChannelBlackWhiteOperateType operateType, @NonNull Long roleId)
Long getRoleId()
获取身份组Id:添加或者移除到黑白名单的身份组Id