QChatRoleService class

圈组身份组服务 目前仅支持iOS和Android平台

Constructors

QChatRoleService()
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addChannelRole(QChatAddChannelRoleParam param) Future<NIMResult<QChatAddChannelRoleResult>>
新增Channel身份组
addMemberRole(QChatAddMemberRoleParam param) Future<NIMResult<QChatAddMemberRoleResult>>
为某个人定制某频道的权限
addMembersToServerRole(QChatAddMembersToServerRoleParam param) Future<NIMResult<QChatAddMembersToServerRoleResult>>
将某些人加入某服务器身份组
checkPermission(QChatCheckPermissionParam param) Future<NIMResult<QChatCheckPermissionResult>>
查询自己是否拥有某个权限
checkPermissions(QChatCheckPermissionsParam param) Future<NIMResult<QChatCheckPermissionsResult>>
查询自己是否拥有某些权限
createServerRole(QChatCreateServerRoleParam param) Future<NIMResult<QChatCreateServerRoleResult>>
新增服务器身份组
deleteServerRole(QChatDeleteServerRoleParam param) Future<NIMResult<void>>
移除服务器身份组
getChannelRoles(QChatGetChannelRolesParam param) Future<NIMResult<QChatGetChannelRolesResult>>
查询某频道下的身份组信息列表
getExistingAccidsInServerRole(QChatGetExistingAccidsInServerRoleParam param) Future<NIMResult<QChatGetExistingAccidsInServerRoleResult>>
查询一批accids在某个服务器身份组下存在的列表
getExistingAccidsOfMemberRoles(QChatGetExistingAccidsOfMemberRolesParam param) Future<NIMResult<QChatGetExistingAccidsOfMemberRolesResult>>
查询一批accids中定制了服务器身份组的列表
getExistingChannelRolesByServerRoleIds(QChatGetExistingChannelRolesByServerRoleIdsParam param) Future<NIMResult<QChatGetExistingChannelRolesByServerRoleIdsResult>>
通过服务器身份组Id列表查询频道身份组列表
getExistingServerRolesByAccids(QChatGetExistingServerRolesByAccidsParam param) Future<NIMResult<QChatGetExistingServerRolesByAccidsResult>>
通过accid查询该accid所属的服务器身份组列表,结果只有自定义身份组,不包含everyone身份组
getMemberRoles(QChatGetMemberRolesParam param) Future<NIMResult<QChatGetMemberRolesResult>>
查询channel下某人的定制权限
getMembersFromServerRole(QChatGetMembersFromServerRoleParam param) Future<NIMResult<QChatGetMembersFromServerRoleResult>>
查询某服务器下某身份组下的成员列表
getServerRoles(QChatGetServerRolesParam param) Future<NIMResult<QChatGetServerRolesResult>>
查询服务器下身份组列表,第一页返回结果额外包含everyone身份组,自定义身份组数量充足的情况下会返回limit+1个身份组
getServerRolesByAccid(QChatGetServerRolesByAccidParam param) Future<NIMResult<QChatGetServerRolesByAccidResult>>
通过accid查询该accid所属的服务器身份组列表,结果只有自定义身份组,不包含everyone身份组
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeChannelRole(QChatRemoveChannelRoleParam param) Future<NIMResult<void>>
删除频道身份组
removeMemberRole(QChatRemoveMemberRoleParam param) Future<NIMResult<void>>
删除频道下某人的定制权限
removeMembersFromServerRole(QChatRemoveMembersFromServerRoleParam param) Future<NIMResult<QChatRemoveMembersFromServerRoleResult>>
将某些人移出某服务器身份组
toString() String
A string representation of this object.
inherited
updateChannelRole(QChatUpdateChannelRoleParam param) Future<NIMResult<QChatUpdateChannelRoleResult>>
修改频道下某身份组的权限
updateMemberRole(QChatUpdateMemberRoleParam param) Future<NIMResult<QChatUpdateMemberRoleResult>>
修改某人的定制权限
updateServerRole(QChatUpdateServerRoleParam param) Future<NIMResult<QChatUpdateServerRoleResult>>
修改服务器身份组信息
updateServerRolePriorities(QChatUpdateServerRolePrioritiesParam param) Future<NIMResult<QChatUpdateServerRolePrioritiesResult>>
批量修改服务器身份组优先级

Operators

operator ==(Object other) bool
The equality operator.
inherited