OpenClaw QQ Bot Channel
Connect OpenClaw to QQ — China's most popular consumer messaging platform by Tencent — using the community plugin @openclaw-china/qqbot (QQ is not an officially built-in OpenClaw channel). Developed by BytePioneer-AI with 3.2k stars on GitHub, this is the most popular and actively maintained QQ plugin for OpenClaw. It supports direct messages, group chats (@mention trigger), QQ channel messages, channel DMs, rich media (images, audio, video, files), voice-to-text (via Tencent Cloud ASR), Markdown delivery modes, and quote message context. Install the plugin, create a bot on the QQ Open Platform, run the setup wizard, and start chatting.
QQ Supported Features
Text Messages
Supported
Media & Files
Supported
Reactions
Not Supported
Threads
Not Supported
Voice Messages
Supported
Group Chat
Supported
QQ Prerequisites
- A registered QQ account with developer access
- QQ plugin installed: openclaw plugins install @openclaw-china/qqbot
- OpenClaw Gateway running and configured
- Node.js 18+ installed on your server
QQ Quick Setup
Install the QQ Bot plugin
Run 'openclaw plugins install @openclaw-china/qqbot' in your terminal. This plugin by BytePioneer-AI has 3.2k stars and is the most popular QQ integration for OpenClaw. Alternatively, you can install the bundled China channels package with 'openclaw plugins install @openclaw-china/channels', which includes QQ, Feishu, DingTalk, WeCom, and personal WeChat support in a single package. A lighter alternative is @sliverp/qqbot (186 stars), a dedicated QQ-only plugin.
Create a QQ Bot on the Open Platform
Go to q.qq.com (QQ Open Platform) and log in with your QQ account. Developer identity verification is required and may take 1-2 business days. Click 'Create Bot Application', fill in the bot name, description, and avatar. Once created, navigate to 'Development Settings' to copy your AppID and ClientSecret. These credentials are required for OpenClaw to authenticate with QQ's servers.
Configure with setup wizard or manually
Recommended: Run 'openclaw china setup' to launch the interactive setup wizard, which walks you through QQ configuration step by step. For quick setup, use: openclaw channels add --channel qqbot --token "AppID:ClientSecret". For manual configuration, add the qqbot channel block to ~/.openclaw/openclaw.json with your appId and clientSecret. Note the config key is 'qqbot' (not 'qq').
Test and go live
Run 'openclaw gateway restart' to restart the Gateway, then send a message to your bot in QQ to verify the connection works. Once testing is complete, submit your bot for review on the QQ Open Platform. After Tencent approval, your bot will be publicly available.
QQ Configuration Example
{
"channels": {
"qqbot": {
"enabled": true,
"appId": "your-app-id",
"clientSecret": "your-client-secret",
"markdownSupport": true,
"c2cMarkdownDeliveryMode": "proactive-all",
"c2cMarkdownChunkStrategy": "markdown-block",
"autoSendLocalPathMedia": false
}
}
}QQ Integration Guide
OpenClaw QQ Architecture Overview
OpenClaw QQ Plugin Options
# Install primary recommended plugin
openclaw plugins install @openclaw-china/qqbot
# Or install bundled China channels package
openclaw plugins install @openclaw-china/channels
# Alternative: dedicated QQ-only plugin
openclaw plugins install @sliverp/qqbotQQ Open Platform Setup for OpenClaw
# Recommended: interactive setup wizard
openclaw china setup
# Or quick setup via CLI
openclaw channels add --channel qqbot --token "AppID:ClientSecret"
# Or via environment variables
export QQ_APP_ID="your_app_id"
export QQ_CLIENT_SECRET="your_client_secret"OpenClaw QQ Messaging Contexts: DM, Group & Channel
{
"channels": {
"qqbot": {
"enabled": true,
"appId": "your-app-id",
"clientSecret": "your-client-secret"
}
}
}OpenClaw QQ Markdown Delivery Modes
{
"channels": {
"qqbot": {
"markdownSupport": true,
"c2cMarkdownDeliveryMode": "proactive-all",
"c2cMarkdownChunkStrategy": "markdown-block",
"autoSendLocalPathMedia": false
}
}
}OpenClaw QQ Rich Media & Voice-to-Text (ASR)
{
"channels": {
"qqbot": {
"asr": {
"enabled": true,
"appId": "tencent-cloud-app-id",
"secretId": "tencent-cloud-secret-id",
"secretKey": "tencent-cloud-secret-key"
}
}
}
}OpenClaw QQ Active Messages & Rate Limits
Useful OpenClaw Commands for QQ
QQ Configuration Reference
| Key | Type | Default | Description |
|---|---|---|---|
| enabled | boolean | true | Enable or disable the QQ channel |
| appId | string | "" | QQ bot AppID (numeric identifier), from the QQ Open Platform console |
| clientSecret | string | "" | QQ bot ClientSecret (secret key), from the QQ Open Platform console |
| markdownSupport | boolean | true | Enable Markdown formatting support for bot replies |
| c2cMarkdownDeliveryMode | string | "passive" | Markdown delivery mode for C2C messages. Options: passive (reply only), proactive-table-only (proactive for tables), proactive-all (always proactive) |
| c2cMarkdownChunkStrategy | string | "markdown-block" | Strategy for splitting long Markdown messages. Options: markdown-block (split at block boundaries) |
| autoSendLocalPathMedia | boolean | false | Automatically upload and send local file paths referenced in AI responses |
| asr.enabled | boolean | false | Enable voice-to-text transcription using Tencent Cloud ASR |
| asr.appId | string | "" | Tencent Cloud ASR application ID |
| asr.secretId | string | "" | Tencent Cloud ASR secret ID |
| asr.secretKey | string | "" | Tencent Cloud ASR secret key |
Enable or disable the QQ channel
QQ bot AppID (numeric identifier), from the QQ Open Platform console
QQ bot ClientSecret (secret key), from the QQ Open Platform console
Enable Markdown formatting support for bot replies
Markdown delivery mode for C2C messages. Options: passive (reply only), proactive-table-only (proactive for tables), proactive-all (always proactive)
Strategy for splitting long Markdown messages. Options: markdown-block (split at block boundaries)
Automatically upload and send local file paths referenced in AI responses
Enable voice-to-text transcription using Tencent Cloud ASR
Tencent Cloud ASR application ID
Tencent Cloud ASR secret ID
Tencent Cloud ASR secret key
QQ Frequently Asked Questions
QQ Troubleshooting
AppID or ClientSecret is incorrect, the bot hasn't been approved for production, intents are not configured, or the plugin is not installed properly.
The GROUP_AND_C2C_EVENT intent has not been approved by Tencent.
Network issues, firewall blocking outbound WebSocket connections, or invalid credentials causing authentication failures.
The AI model API key is not configured, the response window has expired, or there's a plugin compatibility issue after an OpenClaw upgrade.
Missing media-related permissions, file size exceeding QQ limits, or unsupported file format.
Tencent Cloud ASR is not configured. Voice-to-text is not automatic and requires ASR setup.