1 package com.netease.nimlib.sdk.qchat.param;
3 import androidx.annotation.NonNull;
16 private final Long serverId;
21 private final Long channelId;
25 private final List<QChatRoleResource> permissions;
33 this.serverId = serverId;
34 this.channelId = null;
35 this.permissions = permissions;
45 this.serverId = serverId;
46 this.channelId = channelId;
47 this.permissions = permissions;
Long getServerId()
获取服务器Id
Long getChannelId()
获取频道Id
List< QChatRoleResource > getPermissions()
身份组权限资源项列表
QChatCheckPermissionsParam(long serverId, List< QChatRoleResource > permissions)
查询server权限(此时不需要传channelId)
QChatCheckPermissionsParam(long serverId, long channelId, List< QChatRoleResource > permissions)
查询权限