NIMQChatRoleManager Protocol Reference

Conforms to NSObject
Declared in NIMQChatRoleManagerProtocol.h

Overview

圈组身份组管理器

– createServerRole:completion: required method

创建服务器身份组

- (void)createServerRole:(NIMQChatCreateServerRoleParam *)param completion:(nullable NIMQChatCreateServerRoleHandler)completion

Parameters

param

传入参数

completion

结果回调

Discussion

创建服务器身份组

Declared In

NIMQChatRoleManagerProtocol.h

– deleteServerRole:completion: required method

删除服务器身份组

- (void)deleteServerRole:(NIMQChatDeleteServerRoleParam *)param completion:(nullable NIMQChatDeleteServerRoleHandler)completion

Parameters

param

传入参数

completion

结果回调

Discussion

删除服务器身份组

Declared In

NIMQChatRoleManagerProtocol.h

– updateServerRole:completion: required method

更新服务器身份组

- (void)updateServerRole:(NIMQChatUpdateServerRoleParam *)param completion:(nullable NIMQChatUpdateServerRoleHandler)completion

Parameters

param

传入参数

completion

结果回调

Discussion

更新服务器身份组

Declared In

NIMQChatRoleManagerProtocol.h

– getServerRoles:completion: required method

获取服务器身份组

- (void)getServerRoles:(NIMQChatGetServerRolesParam *)param completion:(nullable NIMQChatGetServerRolesHandler)completion

Parameters

param

传入参数

completion

结果回调

Discussion

获取服务器身份组

Declared In

NIMQChatRoleManagerProtocol.h

– addChannelRole:completion: required method

将某身份组加入某频道

- (void)addChannelRole:(NIMQChatAddChannelRoleParam *)param completion:(nullable NIMQChatAddChannelRoleHandler)completion

Parameters

param

传入参数

completion

结果回调

Discussion

将某身份组加入某频道

Declared In

NIMQChatRoleManagerProtocol.h

– removeChannelRole:completion: required method

删除某频道下的某身份组

- (void)removeChannelRole:(NIMQChatRemoveChannelRoleParam *)param completion:(nullable NIMQChatRemoveChannelRoleHandler)completion

Parameters

param

传入参数

completion

结果回调

Discussion

删除某频道下的某身份组

Declared In

NIMQChatRoleManagerProtocol.h

– updateChannelRole:completion: required method

修改频道下某身份组的权限

- (void)updateChannelRole:(NIMQChatUpdateChannelRoleParam *)param completion:(nullable NIMQChatUpdateChannelRoleHandler)completion

Parameters

param

传入参数

completion

结果回调

Discussion

修改频道下某身份组的权限

Declared In

NIMQChatRoleManagerProtocol.h

– getChannelRoles:completion: required method

查询某频道下的身份组信息列表

- (void)getChannelRoles:(NIMQChatGetChannelRolesParam *)param completion:(nullable NIMQChatGetChannelRolesHandler)completion

Parameters

param

传入参数

completion

结果回调

Discussion

查询某频道下的身份组信息列表

Declared In

NIMQChatRoleManagerProtocol.h

– addMemberRole:completion: required method

为某个人定制某频道的权限

- (void)addMemberRole:(NIMQChatAddMemberRoleParam *)param completion:(nullable NIMQChatAddMemberRoleHandler)completion

Parameters

param

传入参数

completion

结果回调

Discussion

为某个人定制某频道的权限

Declared In

NIMQChatRoleManagerProtocol.h

– removeMemberRole:completion: required method

删除频道下某人的定制权限

- (void)removeMemberRole:(NIMQChatRemoveMemberRoleParam *)param completion:(nullable NIMQChatRemoveMemberRoleHandler)completion

Parameters

param

传入参数

completion

结果回调

Discussion

删除频道下某人的定制权限

Declared In

NIMQChatRoleManagerProtocol.h

– updateMemberRole:completion: required method

修改某人的定制权限

- (void)updateMemberRole:(NIMQChatUpdateMemberRoleParam *)param completion:(nullable NIMQChatUpdateMemberRoleHandler)completion

Parameters

param

传入参数

completion

结果回调

Discussion

修改某人的定制权限

Declared In

NIMQChatRoleManagerProtocol.h

– getMemberRoles:completion: required method

查询channel下人的定制权限

- (void)getMemberRoles:(NIMQChatGetMemberRolesParam *)param completion:(nullable NIMQChatGetMemberRolesHandler)completion

Parameters

param

传入参数

completion

结果回调

Discussion

查询channel下人的定制权限

Declared In

NIMQChatRoleManagerProtocol.h

– addChannelCategoryRole:completion: required method

将某身份组加入某频道分组

- (void)addChannelCategoryRole:(NIMQChatAddChannelCategoryRoleParam *)param completion:(nullable NIMQChatAddChannelCategoryRoleHandler)completion

Parameters

param

传入参数

completion

结果回调

Discussion

将某身份组加入某频道分组

Declared In

NIMQChatRoleManagerProtocol.h

– removeChannelCategoryRole:completion: required method

删除某频道分组下的某身份组

- (void)removeChannelCategoryRole:(NIMQChatRemoveChannelCategoryRoleParam *)param completion:(nullable NIMQChatRemoveChannelCategoryRoleHandler)completion

Parameters

param

传入参数

completion

结果回调

Discussion

删除某频道分组下的某身份组

Declared In

NIMQChatRoleManagerProtocol.h

– updateChannelCategoryRole:completion: required method

修改频道分组下某身份组的权限

- (void)updateChannelCategoryRole:(NIMQChatUpdateChannelCategoryRoleParam *)param completion:(nullable NIMQChatUpdateChannelCategoryRoleHandler)completion

Parameters

param

传入参数

completion

结果回调

Discussion

修改频道分组下某身份组的权限

Declared In

NIMQChatRoleManagerProtocol.h

– getChannelCategoryRoles:completion: required method

查询某频道分组下的身份组信息列表

- (void)getChannelCategoryRoles:(NIMQChatGetChannelCategoryRolesParam *)param completion:(nullable NIMQChatGetChannelCategoryRolesHandler)completion

Parameters

param

传入参数

completion

结果回调

Discussion

查询某频道分组下的身份组信息列表

Declared In

NIMQChatRoleManagerProtocol.h

– addChannelCategoryMemberRole:completion: required method

为某个人定制某频道分组的权限

- (void)addChannelCategoryMemberRole:(NIMQChatAddChannelCategoryMemberRoleParam *)param completion:(nullable NIMQChatAddChannelCategoryMemberRoleHandler)completion

Parameters

param

传入参数

completion

结果回调

Discussion

为某个人定制某频道分组的权限

Declared In

NIMQChatRoleManagerProtocol.h

– removeChannelCategoryMemberRole:completion: required method

删除频道分组下某人的定制权限

- (void)removeChannelCategoryMemberRole:(NIMQChatRemoveChannelCategoryMemberRoleParam *)param completion:(nullable NIMQChatRemoveChannelCategoryMemberRoleHandler)completion

Parameters

param

传入参数

completion

结果回调

Discussion

删除频道分组下某人的定制权限

Declared In

NIMQChatRoleManagerProtocol.h

– updateChannelCategoryMemberRole:completion: required method

修改频道分组某人的定制权限

- (void)updateChannelCategoryMemberRole:(NIMQChatUpdateChannelCategoryMemberRoleParam *)param completion:(nullable NIMQChatUpdateChannelCategoryMemberRoleHandler)completion

Parameters

param

传入参数

completion

结果回调

Discussion

修改频道分组某人的定制权限

Declared In

NIMQChatRoleManagerProtocol.h

– getChannelCategoryMemberRoles:completion: required method

查询频道分组下人的定制权限

- (void)getChannelCategoryMemberRoles:(NIMQChatGetChannelCategoryMemberRolesParam *)param completion:(nullable NIMQChatGetChannelCategoryMemberRolesHandler)completion

Parameters

param

传入参数

completion

结果回调

Discussion

查询频道分组下人的定制权限

Declared In

NIMQChatRoleManagerProtocol.h

– addServerRoleMembers:completion: required method

将某些人加入某服务器身份组

- (void)addServerRoleMembers:(NIMQChatAddServerRoleMembersParam *)param completion:(nullable NIMQChatAddServerRoleMembersHandler)completion

Parameters

param

传入参数

completion

结果回调

Discussion

将某些人加入某服务器身份组

Declared In

NIMQChatRoleManagerProtocol.h

– removeServerRoleMember:completion: required method

将某些移除某服务器身份组

- (void)removeServerRoleMember:(NIMQChatRemoveServerRoleMemberParam *)param completion:(nullable NIMQChatRemoveServerRoleMembersHandler)completion

Parameters

param

传入参数

completion

结果回调

Discussion

将某些移除某服务器身份组

Declared In

NIMQChatRoleManagerProtocol.h

– getServerRoleMembers:completion: required method

查询某服务器下某身份组下的成员列表

- (void)getServerRoleMembers:(NIMQChatGetServerRoleMembersParam *)param completion:(nullable NIMQChatGetServerRoleMembersHandler)completion

Parameters

param

传入参数

completion

结果回调

Discussion

查询某服务器下某身份组下的成员列表

Declared In

NIMQChatRoleManagerProtocol.h

– getServerRolesByAccid:completion: required method

通过accid查询自定义身份组列表

- (void)getServerRolesByAccid:(NIMQChatGetServerRolesByAccidParam *)param completion:(nullable NIMQChatGetServerRolesByAccidHandler)completion

Parameters

param

传入参数

completion

结果回调

Discussion

通过accid查询自定义身份组列表

Declared In

NIMQChatRoleManagerProtocol.h

– getExistingAccidsInServerRole:completion: required method

查询一批accids的自定义身份组列表

- (void)getExistingAccidsInServerRole:(NIMQChatGetExistingAccidsInServerRoleParam *)param completion:(nullable NIMQChatGetExistingAccidsInServerRoleHandler)completion

Parameters

param

传入参数

completion

结果回调

Discussion

查询一批accids的自定义身份组列表

Declared In

NIMQChatRoleManagerProtocol.h

– getExistingChannelRolesByServerRoleIds:completion: required method

查询一批服务器身份组在频道中的身份组信息,只会返回存在的

- (void)getExistingChannelRolesByServerRoleIds:(NIMQChatGetExistingChannelRolesByServerRoleIdsParam *)param completion:(nullable NIMQChatGetExistingChannelRolesByServerRoleIdsHandler)completion

Parameters

param

传入参数

completion

结果回调

Discussion

查询一批服务器身份组在频道中的身份组信息,只会返回存在的

Declared In

NIMQChatRoleManagerProtocol.h

– getExistingAccidsOfMemberRoles:completion: required method

查询一批accids在频道中配置了权限的,只会返回存在的

- (void)getExistingAccidsOfMemberRoles:(NIMQChatGetExistingAccidsOfMemberRolesParam *)param completion:(nullable NIMQChatGetExistingAccidsOfMemberRolesHandler)completion

Parameters

param

传入参数

completion

结果回调

Discussion

查询一批accids在频道中配置了权限的,只会返回存在的

Declared In

NIMQChatRoleManagerProtocol.h

– updateServerRolePriorities:completion: required method

批量更新服务器身份组的权限

- (void)updateServerRolePriorities:(NIMQChatupdateServerRolePrioritiesParam *)param completion:(nullable NIMQChatupdateServerRolePrioritiesHandler)completion

Parameters

param

传入参数

completion

结果回调

Discussion

批量更新服务器身份组的权限

Declared In

NIMQChatRoleManagerProtocol.h

– getExistingServerRoleMembersByAccids:completion: required method

查询一批accids是否在某个服务器身份组,返回在的成员信息

- (void)getExistingServerRoleMembersByAccids:(NIMQChatGetExistingServerRoleMembersByAccidsParam *)param completion:(nullable NIMQChatGetExistingServerRoleMembersByAccidsHandler)completion

Parameters

param

传入参数

completion

结果回调

Discussion

查询一批accids是否在某个服务器身份组,返回在的成员信息

Declared In

NIMQChatRoleManagerProtocol.h

– checkPermission:completion: required method

查询自己是否有某个权限

- (void)checkPermission:(NIMQChatCheckPermissionParam *)param completion:(nullable NIMQChatCheckPermissionHandler)completion

Parameters

param

传入参数

completion

结果回调

Discussion

查询自己是否有某个权限

Declared In

NIMQChatRoleManagerProtocol.h

– checkPermissions:completion: required method

查询自己是否拥有某些权限

- (void)checkPermissions:(NIMQChatCheckPermissionsParam *)param completion:(nullable NIMQChatCheckPermissionsHandler)completion

Parameters

param

传入参数

completion

结果回调

Discussion

查询自己是否拥有某些权限

Declared In

NIMQChatRoleManagerProtocol.h

– addDelegate: required method

添加通知对象

- (void)addDelegate:(id<NIMQChatRoleManagerDelegate>)delegate

Parameters

delegate

通知对象

Discussion

添加通知对象

Declared In

NIMQChatRoleManagerProtocol.h

– removeDelegate: required method

移除通知对象

- (void)removeDelegate:(id<NIMQChatRoleManagerDelegate>)delegate

Parameters

delegate

通知对象

Discussion

移除通知对象

Declared In

NIMQChatRoleManagerProtocol.h