|
protected |
操作话题列表结果
|
protected |
获取话题列表结果
|
protected |
创建话题成功回调
|
protected |
创建权限组成功回调
|
protected |
操作权限组结果
|
protected |
获取权限组列表结果
|
protected |
操作权限组成员结果
|
protected |
获取权限组成员结果
|
protected |
获取话题权限结果
|
protected |
社群权限值
|
protected |
话题权限值
- (void) addCommunityListener: | (addCommunityListener(listener:)) | NS_SWIFT_NAME |
1.1 添加社群监听器
- (void) removeCommunityListener: | (removeCommunityListener(listener:)) | NS_SWIFT_NAME |
1.2 移除社群监听器
- (void) createCommunity: | (V2TIMGroupInfo *) | info | |
memberList: | (NSArray< V2TIMCreateGroupMemberInfo * > *) | memberList | |
succ: | (V2TIMCreateGroupSucc) | succ | |
fail: | (V2TIMFail) | fail | |
2.1 创建支持话题的社群
- (void) getJoinedCommunityList: | (V2TIMGroupInfoListSucc) | succ | |
fail: | (V2TIMFail) | fail | |
2.1 获取当前用户已经加入的支持话题的社群列表
- (void) createTopicInCommunity: | (NSString *) | groupID | |
topicInfo: | (V2TIMTopicInfo *) | topicInfo | |
succ: | (V2TIMCreateTopicSucc) | succ | |
fail: | (V2TIMFail) | fail | |
2.2 创建话题
groupID | 社群 ID,必须以 @TGS_ 开头。 |
- (void) deleteTopicFromCommunity: | (NSString *) | groupID | |
topicIDList: | (NSArray< NSString * > *) | topicIDList | |
succ: | (V2TIMTopicOperationResultSucc) | succ | |
fail: | (V2TIMFail) | fail | |
2.3 删除话题
- (void) setTopicInfo: | (V2TIMTopicInfo *) | topicInfo | |
succ: | (V2TIMSucc) | succ | |
fail: | (V2TIMFail) | fail | |
2.4 修改话题信息
- (void) getTopicInfoList: | (NSString *) | groupID | |
topicIDList: | (NSArray< NSString * > *) | topicIDList | |
succ: | (V2TIMTopicInfoResultListSucc) | succ | |
fail: | (V2TIMFail) | fail | |
2.5 获取话题列表。
- (void) createPermissionGroupInCommunity: | (V2TIMPermissionGroupInfo *) | permissionGroupInfo | |
succ: | (V2TIMCreatePermissionGroupSucc) | succ | |
fail: | (V2TIMFail) | fail | |
3.1 创建社群权限组(7.8 及其以上版本支持)
- (void) deletePermissionGroupFromCommunity: | (NSString *) | groupID | |
permissionGroupIDList: | (NSArray< NSString * > *) | permissionGroupIDList | |
succ: | (V2TIMPermissionGroupOperationResultSucc) | succ | |
fail: | (V2TIMFail) | fail | |
3.2 删除社群权限组(7.8 及其以上版本支持)
- (void) modifyPermissionGroupInfoInCommunity: | (V2TIMPermissionGroupInfo *) | permissionGroupInfo | |
succ: | (V2TIMSucc) | succ | |
fail: | (V2TIMFail) | fail | |
3.3 修改社群权限组(7.8 及其以上版本支持)
- (void) getJoinedPermissionGroupListInCommunity: | (NSString *) | groupID | |
succ: | (V2TIMPermissionGroupInfoResultListSucc) | succ | |
fail: | (V2TIMFail) | fail | |
3.4 获取已加入的社群权限组列表(7.8 及其以上版本支持)
- (void) getPermissionGroupListInCommunity: | (NSString *) | groupID | |
permissionGroupIDList: | (NSArray< NSString * > *) | permissionGroupIDList | |
succ: | (V2TIMPermissionGroupInfoResultListSucc) | succ | |
fail: | (V2TIMFail) | fail | |
3.5 获取社群权限组列表(7.8 及其以上版本支持)
- (void) addCommunityMembersToPermissionGroup: | (NSString *) | groupID | |
permissionGroupID: | (NSString *) | permissionGroupID | |
memberList: | (NSArray< NSString * > *) | memberList | |
succ: | (V2TIMPermissionGroupMemberOperationResultListSucc) | succ | |
fail: | (V2TIMFail) | fail | |
3.6 向社群权限组添加成员(7.7 及其以上版本支持)
- (void) removeCommunityMembersFromPermissionGroup: | (NSString *) | groupID | |
permissionGroupID: | (NSString *) | permissionGroupID | |
memberList: | (NSArray< NSString * > *) | memberList | |
succ: | (V2TIMPermissionGroupMemberOperationResultListSucc) | succ | |
fail: | (V2TIMFail) | fail | |
3.7 从社群权限组删除成员(7.8 及其以上版本支持)
- (void) getCommunityMemberListInPermissionGroup: | (NSString *) | groupID | |
permissionGroupID: | (NSString *) | permissionGroupID | |
nextCursor: | (NSString *) | nextCursor | |
succ: | (V2TIMPermissionGroupMemberInfoResultListSucc) | succ | |
fail: | (V2TIMFail) | fail | |
3.8 获取社群权限组成员列表(7.8 及其以上版本支持)
- (void) addTopicPermissionToPermissionGroup: | (NSString *) | groupID | |
permissionGroupID: | (NSString *) | permissionGroupID | |
topicPermissionMap: | (NSDictionary< NSString *, NSNumber * > *) | topicPermissionMap | |
succ: | (V2TIMTopicOperationResultSucc) | succ | |
fail: | (V2TIMFail) | fail | |
3.9 向权限组添加话题权限(7.8 及其以上版本支持)
- (void) deleteTopicPermissionFromPermissionGroup: | (NSString *) | groupID | |
permissionGroupID: | (NSString *) | permissionGroupID | |
topicIDList: | (NSArray< NSString * > *) | topicIDList | |
succ: | (V2TIMTopicOperationResultSucc) | succ | |
fail: | (V2TIMFail) | fail | |
3.10 从权限组中删除话题权限(7.8 及其以上版本支持)
- (void) modifyTopicPermissionInPermissionGroup: | (NSString *) | groupID | |
permissionGroupID: | (NSString *) | permissionGroupID | |
topicPermissionMap: | (NSDictionary< NSString *, NSNumber * > *) | topicPermissionMap | |
succ: | (V2TIMTopicOperationResultSucc) | succ | |
fail: | (V2TIMFail) | fail | |
3.11 修改权限组中的话题权限(7.8 及其以上版本支持)
- (void) getTopicPermissionInPermissionGroup: | (NSString *) | groupID | |
permissionGroupID: | (NSString *) | permissionGroupID | |
topicIDList: | (NSArray< NSString * > *) | topicIDList | |
succ: | (V2TIMTopicPermissionResultSucc) | succ | |
fail: | (V2TIMFail) | fail | |
3.12 获取权限组中的话题权限(7.8 及其以上版本支持)