1 package com.netease.nimlib.sdk.qchat.param;
3 import androidx.annotation.NonNull;
15 private final Long serverId;
20 private final Long channelId;
32 this.serverId = serverId;
33 this.channelId = null;
34 this.permission = permission;
44 this.serverId = serverId;
45 this.channelId = channelId;
46 this.permission = permission;
QChatCheckPermissionParam(long serverId, QChatRoleResource permission)
查询server权限(此时不需要传channelId)
Long getChannelId()
获取频道Id
Long getServerId()
获取服务器Id
QChatRoleResource getPermission()
获取身份组权限资源项
QChatCheckPermissionParam(long serverId, long channelId, QChatRoleResource permission)
查询权限