Why QQ?
- Popular in China: Widely used for personal and business communication
- Easy Setup: Just AppID and AppSecret required
- No Webhooks: Uses official API with polling/WebSocket
- Group Support: Works in private chats and group conversations
Prerequisites
- QQ account
- Access to QQ Open Platform
- PicoClaw installed with LLM provider configured
- ~15 minutes for setup and approval
Setup Instructions
Register on QQ Open Platform
- Go to QQ Open Platform
- Log in with your QQ account
- Complete developer registration (if first time)
- Verify your identity (may require phone/ID verification)
Create a Bot Application
- Navigate to Application Management → Create Application
- Select QQ Bot as the application type
- Fill in:
- Application name
- Description
- Icon/logo
- Category
- Submit for review
- Wait for approval (usually 1-3 business days)
QQ bot applications require review by Tencent. Make sure your application description clearly explains your bot’s purpose.
Get AppID and AppSecret
After approval:
- Go to Application Management → Your App
- Find AppID (also called BotAppID)
- Find AppSecret (also called Token or Secret)
- Copy both values for configuration
Configure PicoClaw
Edit Replace:
~/.picoclaw/config.json:app_id: Your BotAppID from QQ Open Platformapp_secret: Your AppSecret/Tokenallow_from: QQ numbers to allow (empty array = allow all)
Configuration Options
Basic Configuration
| Field | Type | Required | Description |
|---|---|---|---|
enabled | boolean | Yes | Enable QQ channel |
app_id | string | Yes | BotAppID from QQ Open Platform |
app_secret | string | Yes | AppSecret/Token from QQ Open Platform |
allow_from | array | No | List of allowed QQ numbers (empty = allow all) |
Access Control
Allow specific QQ numbers:Features
Text Messages
Send and receive text messages with full conversation context maintained per user.Private Chats
Users can chat with the bot one-on-one after adding it as a friend.Group Chats
Add the bot to QQ groups (if group admin permissions allow). The bot can:- Respond to all messages (if allowed)
- Respond only when @mentioned (configurable)
- Maintain separate context per group
Rich Media
Depending on QQ API capabilities:- Send/receive images
- Handle file attachments
- Support emoji and stickers
Troubleshooting
”Invalid AppID or AppSecret”
Possible causes:- Incorrect credentials copied from platform
- Application not yet approved
- Application suspended or revoked
- Verify AppID and AppSecret in QQ Open Platform
- Check application status (must be “Approved”)
- Ensure credentials are copied correctly (no extra spaces)
- Regenerate AppSecret if needed
Bot doesn’t respond
Check these:- Gateway running: Ensure
picoclaw gatewayis active - Allow list: Verify sender’s QQ number in
allow_from(or empty array) - LLM configured: Test with
picoclaw agent -m "test" - Bot online: Check QQ Open Platform for bot status
- Friendship: User must add bot as friend for private chats
”Application pending review”
Cause: QQ bot applications require manual review by Tencent Timeline: Usually 1-3 business days, can be longer during holidays Action:- Wait for review completion
- Check your notification emails
- Ensure application description is clear and compliant
Connection errors
Possible causes:- Network connectivity issues
- QQ API service interruption
- Invalid credentials
- IP restrictions (if QQ enforces regional limits)
- Network access to QQ servers
- QQ Open Platform status page
- Gateway logs for specific error messages
Messages delayed
Possible causes:- QQ API rate limiting
- Network latency
- LLM provider slow response
- Check QQ API rate limits in platform documentation
- Use faster LLM providers (e.g., Groq, Cerebras)
- Monitor Gateway logs for timing information
Rate Limits
QQ Open Platform enforces rate limits:- Message sending: Varies by account level (check platform docs)
- API calls: Typically 1000-10000 requests/day depending on tier
- Group messages: May have stricter limits
Rate limits depend on your QQ Open Platform account level and application tier. Check the official documentation for current limits.
Privacy & Security
Data Privacy
QQ bots can access:- Messages sent to the bot
- User QQ numbers
- Group information (if in groups)
- User profile data (depending on permissions)
- QQ/Tencent privacy policies and data handling
- Local data retention in PicoClaw workspace
- LLM provider data logging policies
- Chinese data protection regulations (if applicable)
Complete Example
Regional Considerations
China-Specific Notes:
- QQ is primarily used in mainland China
- QQ Open Platform may require Chinese phone number for verification
- Consider using Chinese LLM providers (Zhipu, Qwen) for better performance and compliance
- Be aware of content filtering and regulations
- Server hosting in China may improve latency
Recommended LLM Providers for QQ
Next Steps
DingTalk Channel
Another popular Chinese platform
WeCom Channel
Enterprise WeChat integration
Telegram Channel
International alternative
Configuration
Advanced configuration options