GroupOperationsHandler

Group operations handler.

Note: Call stop to release resources when done.

Since

5.12.0

Constructors

Link copied to clipboard
public void GroupOperationsHandler(ChannelIdentifier channelIdentifier)
Constructor that initializes the group ID.

Properties

Link copied to clipboard
public final static DataKey<Boolean> KEY_ADD_GROUP_FOLLOWS
Key for adding favorited group members.
Link copied to clipboard
public final static DataKey<Boolean> KEY_ADD_GROUP_MANAGERS
Key for the add group managers operation.
Link copied to clipboard
public final static DataKey<Integer> KEY_CREATE_GROUP
Key for the create group operation.
Link copied to clipboard
public final static DataKey<Integer> KEY_CREATE_GROUP_EXAMINE
Key for the create group operation [with review].
Link copied to clipboard
public final static DataKey<Boolean> KEY_DISMISS_GROUP
Key for the dismiss group operation.
Link copied to clipboard
public final static DataKey<Integer> KEY_INVITE_USERS_TO_GROUP
Key for the invite users to group operation.
Link copied to clipboard
public final static DataKey<Integer> KEY_JOIN_GROUP
Key for the join group operation.
Link copied to clipboard
public final static DataKey<Boolean> KEY_KICK_GROUP_MEMBERS
Key for the kick group members operation.
Link copied to clipboard
public final static DataKey<Boolean> KEY_QUIT_GROUP
Key for the quit group operation.
Link copied to clipboard
public final static DataKey<Boolean> KEY_REMOVE_GROUP_FOLLOWS
Key for removing favorited group members.
Link copied to clipboard
public final static DataKey<Boolean> KEY_REMOVE_GROUP_MANAGERS
Key for the remove group managers operation.
Link copied to clipboard
public final static DataKey<Boolean> KEY_SET_GROUP_MEMBER_INFO
Key for the set group member info operation.
Link copied to clipboard
public final static DataKey<Boolean> KEY_SET_GROUP_MEMBER_INFO_EXAMINE
Key for the set group member info operation [with review].
Link copied to clipboard
public final static DataKey<Boolean> KEY_TRANSFER_GROUP_OWNER
Key for the transfer group ownership operation.
Link copied to clipboard
public final static DataKey<Boolean> KEY_UPDATE_GROUP_INFO
Key for the update group info operation.
Link copied to clipboard
public final static DataKey<Boolean> KEY_UPDATE_GROUP_INFO_EXAMINE
Key for the update group info operation [with review].

Functions

Link copied to clipboard
public void addGroupFollows(List<String> userIds)
Adds favorited group members.
Link copied to clipboard
public void addGroupManagers(List<String> userIds)
Adds group managers.
Link copied to clipboard
@Deprecated()
public void createGroup(GroupInfo groupInfo, List<String> inviteeUserIds)
Link copied to clipboard
public void createGroupExamine(GroupInfo groupInfo, List<String> inviteeUserIds)
Link copied to clipboard
public void dismissGroup()
Dismisses the group.
Link copied to clipboard
public void inviteUsersToGroup(List<String> userIds)
Invites users to join the group.
Link copied to clipboard
public void joinGroup()
Joins the group.
Link copied to clipboard
public void kickGroupMembers(List<String> userIds, LeaveGroupConfig config)
Kicks members from the group.
Link copied to clipboard
public void quitGroup(LeaveGroupConfig config)
Quits the group.
Link copied to clipboard
public void removeGroupFollows(List<String> userIds)
Removes favorited group members.
Link copied to clipboard
public void removeGroupManagers(List<String> userIds)
Removes group managers.
Link copied to clipboard
@Deprecated()
public void setGroupMemberInfo(String userId, String nickname, String extra)
Sets group member info.
Link copied to clipboard
public void setGroupMemberInfoExamine(String userId, String nickname, String extra)
Sets group member info with review.
Link copied to clipboard
public void transferGroupOwner(String newOwnerId, boolean quitGroup, LeaveGroupConfig config)
Transfers group ownership.
Link copied to clipboard
@Deprecated()
public void updateGroupInfo(GroupInfo groupInfo)
Updates the group info.
Link copied to clipboard
public void updateGroupInfoExamine(GroupInfo groupInfo)
Updates the group info with review.