|
protected |
Callback definition on operation topic.
|
protected |
Callback definition on get topic info list.
|
protected |
Callback definition on create topic.
|
protected |
Callback definition on create permission group.
|
protected |
Callback definition on operate permission group.
|
protected |
Callback definition on get permission group list.
|
protected |
Callback definition on operate permission group member list.
|
protected |
Callback definition on get permission group member list.
|
protected |
Callback definition on get topic permission list.
|
protected |
Enumeration definition of community permission.
|
protected |
Enumeration definition of topic permission.
- (void) addCommunityListener: | (addCommunityListener(listener:)) | NS_SWIFT_NAME |
1.1 Add the community listener.
- (void) removeCommunityListener: | (removeCommunityListener(listener:)) | NS_SWIFT_NAME |
1.2 Remove the community listener.
- (void) createCommunity: | (V2TIMGroupInfo *) | info | |
memberList: | (NSArray< V2TIMCreateGroupMemberInfo * > *) | memberList | |
succ: | (V2TIMCreateGroupSucc) | succ | |
fail: | (V2TIMFail) | fail | |
2.1 Create a community that supports topics
- (void) getJoinedCommunityList: | (V2TIMGroupInfoListSucc) | succ | |
fail: | (V2TIMFail) | fail | |
2.1 Get the list of Community-groups that the current user has joined
- (void) createTopicInCommunity: | (NSString *) | groupID | |
topicInfo: | (V2TIMTopicInfo *) | topicInfo | |
succ: | (V2TIMCreateTopicSucc) | succ | |
fail: | (V2TIMFail) | fail | |
2.2 Create topic
groupID | The community ID must start with @TGS_. |
- (void) deleteTopicFromCommunity: | (NSString *) | groupID | |
topicIDList: | (NSArray< NSString * > *) | topicIDList | |
succ: | (V2TIMTopicOperationResultSucc) | succ | |
fail: | (V2TIMFail) | fail | |
2.3 Delete topic
- (void) setTopicInfo: | (V2TIMTopicInfo *) | topicInfo | |
succ: | (V2TIMSucc) | succ | |
fail: | (V2TIMFail) | fail | |
2.4 Modify topic information
- (void) getTopicInfoList: | (NSString *) | groupID | |
topicIDList: | (NSArray< NSString * > *) | topicIDList | |
succ: | (V2TIMTopicInfoResultListSucc) | succ | |
fail: | (V2TIMFail) | fail | |
2.5 Get topic list
- (void) createPermissionGroupInCommunity: | (V2TIMPermissionGroupInfo *) | permissionGroupInfo | |
succ: | (V2TIMCreatePermissionGroupSucc) | succ | |
fail: | (V2TIMFail) | fail | |
3.1 Create community permission group(supported only in 7.8 and later versions)
- (void) deletePermissionGroupFromCommunity: | (NSString *) | groupID | |
permissionGroupIDList: | (NSArray< NSString * > *) | permissionGroupIDList | |
succ: | (V2TIMPermissionGroupOperationResultSucc) | succ | |
fail: | (V2TIMFail) | fail | |
3.2 Delete community permission group(supported only in 7.8 and later versions)
- (void) modifyPermissionGroupInfoInCommunity: | (V2TIMPermissionGroupInfo *) | permissionGroupInfo | |
succ: | (V2TIMSucc) | succ | |
fail: | (V2TIMFail) | fail | |
3.3 Modify community permission group(supported only in 7.8 and later versions)
- (void) getJoinedPermissionGroupListInCommunity: | (NSString *) | groupID | |
succ: | (V2TIMPermissionGroupInfoResultListSucc) | succ | |
fail: | (V2TIMFail) | fail | |
3.4 Get joined community permission group list(supported only in 7.8 and later versions)
- (void) getPermissionGroupListInCommunity: | (NSString *) | groupID | |
permissionGroupIDList: | (NSArray< NSString * > *) | permissionGroupIDList | |
succ: | (V2TIMPermissionGroupInfoResultListSucc) | succ | |
fail: | (V2TIMFail) | fail | |
3.5 Get community permission group list(supported only in 7.8 and later versions)
- (void) addCommunityMembersToPermissionGroup: | (NSString *) | groupID | |
permissionGroupID: | (NSString *) | permissionGroupID | |
memberList: | (NSArray< NSString * > *) | memberList | |
succ: | (V2TIMPermissionGroupMemberOperationResultListSucc) | succ | |
fail: | (V2TIMFail) | fail | |
3.6 Add members to community permission group(supported only in 7.8 and later versions)
- (void) removeCommunityMembersFromPermissionGroup: | (NSString *) | groupID | |
permissionGroupID: | (NSString *) | permissionGroupID | |
memberList: | (NSArray< NSString * > *) | memberList | |
succ: | (V2TIMPermissionGroupMemberOperationResultListSucc) | succ | |
fail: | (V2TIMFail) | fail | |
3.7 Remove members from community permission group(supported only in 7.8 and later versions)
- (void) getCommunityMemberListInPermissionGroup: | (NSString *) | groupID | |
permissionGroupID: | (NSString *) | permissionGroupID | |
nextCursor: | (NSString *) | nextCursor | |
succ: | (V2TIMPermissionGroupMemberInfoResultListSucc) | succ | |
fail: | (V2TIMFail) | fail | |
3.8 Get community permission group member list(supported only in 7.8 and later versions)
- (void) addTopicPermissionToPermissionGroup: | (NSString *) | groupID | |
permissionGroupID: | (NSString *) | permissionGroupID | |
topicPermissionMap: | (NSDictionary< NSString *, NSNumber * > *) | topicPermissionMap | |
succ: | (V2TIMTopicOperationResultSucc) | succ | |
fail: | (V2TIMFail) | fail | |
3.9 Add topic permissions to the permission group(supported only in 7.8 and later versions)
- (void) deleteTopicPermissionFromPermissionGroup: | (NSString *) | groupID | |
permissionGroupID: | (NSString *) | permissionGroupID | |
topicIDList: | (NSArray< NSString * > *) | topicIDList | |
succ: | (V2TIMTopicOperationResultSucc) | succ | |
fail: | (V2TIMFail) | fail | |
3.10 Delete topic permissions from the permission group(supported only in 7.8 and later versions)
- (void) modifyTopicPermissionInPermissionGroup: | (NSString *) | groupID | |
permissionGroupID: | (NSString *) | permissionGroupID | |
topicPermissionMap: | (NSDictionary< NSString *, NSNumber * > *) | topicPermissionMap | |
succ: | (V2TIMTopicOperationResultSucc) | succ | |
fail: | (V2TIMFail) | fail | |
3.11 Modify the topic permissions in the permission group(supported only in 7.8 and later versions)
- (void) getTopicPermissionInPermissionGroup: | (NSString *) | groupID | |
permissionGroupID: | (NSString *) | permissionGroupID | |
topicIDList: | (NSArray< NSString * > *) | topicIDList | |
succ: | (V2TIMTopicPermissionResultSucc) | succ | |
fail: | (V2TIMFail) | fail | |
3.12 Get the topic permissions in the permission group(supported only in 7.8 and later versions)