Overview
TheNTQQGroupApi class provides comprehensive methods for managing QQ groups, including group information, member management, permissions, and group settings.
Group Information
getGroups
Get list of all groups the bot is in.Whether to force refresh from server
Array of group objects
fetchGroupDetail
Get detailed information about a specific group.Group code/ID
Detailed group information object
searchGroup
Search for a group by group code.Group code to search for
Group information if found
Group Members
getGroupMember
Get information about a specific group member.Group code
Member UIN or UID
Group member object if found
getGroupMemberAll
Get all members of a group.Group code
Force refresh from server
Object containing map of member UID to GroupMember
getGroupMemberEx
Get extended information about a group member.Group code
Member UID
Force refresh from server
Number of retry attempts
getMemberExtInfo
Get extended member information including level and title.Group code
Member UIN
Member Management
kickMember
Kick members from a group.Group code
Array of member UIDs to kick
Whether to permanently ban from rejoining
Reason for kicking
banMember
Mute/unmute group members.Group code
Array of objects with uid and mute duration in seconds (0 to unmute)
banGroup
Enable or disable mute all in a group.Group code
true to enable mute all, false to disable
getGroupShutUpMemberList
Get list of muted members in a group.Group code
Array of muted member information
setMemberCard
Set a member’s group card (nickname in group).Group code
Member UID
New card name
setMemberRole
Set a member’s role (admin/member).Group code
Member UID
New role (admin or member)
Group Settings
setGroupName
Change group name.Group code
New group name
setGroupRemark
Set remark/note for a group.Group code
Remark text
setGroupAvatar
Set group avatar.Group code
Path to image file
setGroupAddOption
Set group join options.Group code
Join option: 4 (question + answer), 5 (question + admin approval)
Question for joining (if addOption is 4 or 5)
Answer to question (if addOption is 4)
Group Requests
getSingleScreenNotifies
Get group join/invite notifications.Whether to get doubt/verification requests
Number of notifications to retrieve
Array of group notifications
handleGroupRequest
Handle group join/invite requests.Whether this is a doubt request
Group notification object
Operation type (approve/reject)
Reason for rejection (optional)
clearGroupNotifiesUnreadCount
Clear unread count for group notifications.Whether to clear doubt notifications
Group Actions
quitGroup
Leave a group.Group code to leave
quitGroupV2
Leave a group with option to delete local messages.Group code to leave
Whether to delete local messages
Group Files
creatGroupFileFolder
Create a folder in group files.Group code
Name of folder to create
delGroupFile
Delete files from group.Group code
Array of file IDs to delete
delGroupFileFolder
Delete a folder from group files.Group code
Folder ID to delete
getGroupFileCount
Get file count for groups.Array of group codes
Group Announcements
publishGroupBulletin
Publish a group announcement.Group code
Announcement content
Optional image information
Whether to pin announcement
Whether confirmation is required
deleteGroupBulletin
Delete a group announcement.Group code
Notice ID to delete
uploadGroupBulletinPic
Upload image for group announcement.Group code
Image URL or path
Group Essence
addGroupEssence
Add a message to group essence.Group code
Message ID to add to essence
removeGroupEssence
Remove a message from group essence.Group code
Message ID to remove from essence
fetchGroupEssenceList
Get list of essence messages.Group code
Utilities
createGrayTip
Create a gray tip message in group.Group code
Tip text to display
getGroupRemainAtTimes
Get remaining @all count for today.Group code
getArkJsonGroupShare
Get group share card in Ark JSON format.Group code
Ark JSON string for group share
