Public Member Functions | |
abstract void | createGroup (V2TIMGroupInfo info, List< V2TIMCreateGroupMemberInfo > memberList, V2TIMValueCallback< String > callback) |
abstract void | getJoinedGroupList (V2TIMValueCallback< List< V2TIMGroupInfo >> callback) |
abstract void | getGroupsInfo (List< String > groupIDList, V2TIMValueCallback< List< V2TIMGroupInfoResult >> callback) |
abstract void | searchGroups (V2TIMGroupSearchParam searchParam, V2TIMValueCallback< List< V2TIMGroupInfo >> callback) |
abstract void | setGroupInfo (V2TIMGroupInfo info, V2TIMCallback callback) |
abstract void | initGroupAttributes (String groupID, HashMap< String, String > attributes, V2TIMCallback callback) |
abstract void | setGroupAttributes (String groupID, HashMap< String, String > attributes, V2TIMCallback callback) |
abstract void | deleteGroupAttributes (String groupID, List< String > keys, V2TIMCallback callback) |
abstract void | getGroupAttributes (String groupID, List< String > keys, V2TIMValueCallback< Map< String, String >> callback) |
abstract void | getGroupOnlineMemberCount (String groupID, V2TIMValueCallback< Integer > callback) |
abstract void | setGroupCounters (String groupID, HashMap< String, Long > counters, V2TIMValueCallback< Map< String, Long >> callback) |
abstract void | getGroupCounters (String groupID, List< String > keys, V2TIMValueCallback< Map< String, Long >> callback) |
abstract void | increaseGroupCounter (String groupID, String key, long value, V2TIMValueCallback< Map< String, Long >> callback) |
abstract void | decreaseGroupCounter (String groupID, String key, long value, V2TIMValueCallback< Map< String, Long >> callback) |
abstract void | getGroupMemberList (String groupID, int filter, long nextSeq, V2TIMValueCallback< V2TIMGroupMemberInfoResult > callback) |
abstract void | getGroupMembersInfo (String groupID, List< String > memberList, V2TIMValueCallback< List< V2TIMGroupMemberFullInfo >> callback) |
abstract void | searchGroupMembers (V2TIMGroupMemberSearchParam param, V2TIMValueCallback< HashMap< String, List< V2TIMGroupMemberFullInfo >>> callback) |
abstract void | setGroupMemberInfo (String groupID, V2TIMGroupMemberFullInfo info, V2TIMCallback callback) |
abstract void | muteGroupMember (String groupID, String userID, int seconds, V2TIMCallback callback) |
abstract void | inviteUserToGroup (String groupID, List< String > userList, V2TIMValueCallback< List< V2TIMGroupMemberOperationResult >> callback) |
abstract void | kickGroupMember (String groupID, List< String > memberList, String reason, int duration, V2TIMValueCallback< List< V2TIMGroupMemberOperationResult >> callback) |
abstract void | setGroupMemberRole (String groupID, String userID, int role, V2TIMCallback callback) |
abstract void | markGroupMemberList (String groupID, List< String > memberIDList, int markType, boolean enableMark, V2TIMCallback callback) |
abstract void | transferGroupOwner (String groupID, String userID, V2TIMCallback callback) |
abstract void | kickGroupMember (String groupID, List< String > memberList, String reason, V2TIMValueCallback< List< V2TIMGroupMemberOperationResult >> callback) |
abstract void | getGroupApplicationList (V2TIMValueCallback< V2TIMGroupApplicationResult > callback) |
abstract void | acceptGroupApplication (V2TIMGroupApplication application, String reason, V2TIMCallback callback) |
abstract void | refuseGroupApplication (V2TIMGroupApplication application, String reason, V2TIMCallback callback) |
abstract void | setGroupApplicationRead (V2TIMCallback callback) |
abstract void | getJoinedCommunityList (V2TIMValueCallback< List< V2TIMGroupInfo >> callback) |
abstract void | createTopicInCommunity (String groupID, V2TIMTopicInfo topicInfo, V2TIMValueCallback< String > callback) |
abstract void | deleteTopicFromCommunity (String groupID, List< String > topicIDList, V2TIMValueCallback< List< V2TIMTopicOperationResult >> callback) |
abstract void | setTopicInfo (V2TIMTopicInfo topicInfo, V2TIMCallback callback) |
abstract void | getTopicInfoList (String groupID, List< String > topicIDList, V2TIMValueCallback< List< V2TIMTopicInfoResult >> callback) |
|
abstract |
1.1 Create a custom group (the advanced version API allows you to specify initial group members)
info | Custom group information, including the groupID, groupType, groupName, notification, introduction, and faceURL fields |
memberList | Specify initial group members (Audio-video groups do not support specifying initial group members. Pass in null for memberList.) |
|
abstract |
1.2 Get the list of groups that the current user has joined
|
abstract |
2.1 Pull group profiles
groupIDList | List of group IDs |
|
abstract |
2.2 Search for group profiles (supported only in 5.4.666 and later versions and need to buy Flagship Edition)
searchParam | Search parameters |
|
abstract |
2.3 Modify group profiles
|
abstract |
2.4 Initialize group attributes (this operation will clear the existing group attribute list)
|
abstract |
2.5 Set group attributes. (If the group attributes already exist, their values are updated. Otherwise, the group attributes are added.)
|
abstract |
2.6 Delete specified group attributes (If null is passed in for keys, all group attributes are cleared.)
|
abstract |
2.7 Get specified group attributes (If null is passed in for keys, all group attributes are obtained.)
|
abstract |
2.8 Get the number of online members of a group
|
abstract |
2.9 Set group counters (supported only in 7.0 and later versions)
|
abstract |
2.10 Get group counters (supported only in 7.0 and later versions)
|
abstract |
2.11 Increase group counters (supported only in 7.0 and later versions)
groupID | Group ID |
key | The key of group counter |
value | Increment of group counter, the value will be updated as new_value = old_value + value |
|
abstract |
2.12 Decrease group counters (supported only in 7.0 and later versions)
groupID | Group ID |
key | The key of group counter |
value | Decrement of group counter, the value will be updated as new_value = old_value - value |
|
abstract |
3.1 Get the group member list
filter | Specify the group member type
|
nextSeq | Pulling-by-page flag. It is set to 0 when the information is pulled for the first time. If the callback succeeds and nextSeq is not 0, pagination is needed. The value of this field is passed in for the next pull until the value becomes 0. |
|
abstract |
3.2 Get the profiles of specified group members
|
abstract |
3.3 Search for group members (supported only in 5.4.666 and later versions and need to buy Flagship Edition)
param | Search parameters |
|
abstract |
3.4 Modify the profiles of specified group members
|
abstract |
3.5 Mute (this API can be called by the admin or group owner)
seconds | Time period in seconds from calling this API which indicates how many seconds the mute user will be forbidden to speak. |
|
abstract |
3.6 Invite users to a group
|
abstract |
3.7 Remove a member from a group
groupID | Group ID |
memberList | The member list of kicked off |
reason | The reason why the member needed to kick off |
duration | Time interval during which the target users will not be allowed to join the group again after being kicked out of the group in seconds |
succ | Callback |
|
abstract |
3.8 Set the role of a group member
|
abstract |
3.9 Mark group member(supported only in 6.6 and later versions and need to buy Flagship Edition)
groupID | Group's identifier. |
memberIDList | Group member's identifier list. |
markType | The mark type is uint32_t, and the value must be equal or greater than 1000. You can customize it. A maximum of 10 marks are allowed to be defined in an AVChatRoom. |
enableMark | Set or remove. true means setting the mark, and false means removing the mark. |
|
abstract |
3.10 Change the group owner
|
abstract |
3.11 Remove a member from a group(Removing a member from AVChatRoom is supported only in 6.6 and later versions and need to buy Flagship Edition)
|
abstract |
4.1 Get the group joining request list
|
abstract |
4.2 Approve a group joining request
|
abstract |
4.3 Reject a group joining request
|
abstract |
4.4 Mark the group joining request list as read
|
abstract |
5.1 Get the list of Community-groups that the current user has joined
|
abstract |
5.2 Create topic
|
abstract |
5.3 Delete topic
|
abstract |
5.4 Modify topic information
|
abstract |
5.5 Get topic list