Skip to content

API List

NapCatQQ implements most of the OneBot 11 and go-cqhttp APIs. For detailed API explanations, please refer to the respective links.

Connection Support

Connection MethodAvailable
HTTP Interface Call
HTTP POST Event Push
HTTP POST Quick Action
Forward WS Connection
Reverse WS Connection

API Support

OneBot 11 API
FunctionAPIAvailableRemarks
Get bot account infoget_login_info
Send messagesend_msg
Send group messagesend_group_msg
Send private messagesend_private_msgDoes not support temp messages
Get message detailsget_msg
Recall messagedelete_msg
Likesend_likeSupports liking group members
Get friend listget_friend_list
Handle friend requestsset_friend_add_request
Get group listget_group_list
Get group infoget_group_info
Get group member listget_group_member_list
Get group member infoget_group_member_info
Get group honor infoget_group_honor_info
Set group exclusive titleset_group_special_title
Group anonymous banset_group_anonymous_ban
Toggle group anonymityset_group_anonymous
Handle group join requestsset_group_add_request
Leave groupset_group_leave
Kick group membersset_group_kick
Group muteset_group_ban
Group mute allset_group_whole_ban
Set administratorset_group_admin
Set group cardset_group_card
Set group nameset_group_name
Get stranger infoget_stranger_infoCan only get group member info
Get version infoget_version_info
Get statusget_status
Check if can send imagecan_send_image
Check if can send recordcan_send_record
Get image detailsget_image
Get record fileget_record
Get file detailsget_file
Get Cookiesget_cookies
Get CSRF Tokenget_csrf_token
Get QQ-related API credentialsget_credentials
Restart OneBot implementationset_restart
Clean cacheclean_cache
go-cqhttp API
APIAvailable
send_forward_msg
send_private_forward_msg
send_group_forward_msg
get_forward_msg
upload_group_file
download_file
_get_group_notice
get_essence_msg_list
_send_group_notice
_get_group_notice
get_group_system_msg
ocr_image
get_online_clients