ServicesChat Service
Integrate Downcity with QQ Bot
QQ Integration
Required config
{
"services": {
"chat": {
"channels": {
"qq": {
"enabled": true,
"channelAccountId": "qq-main"
}
}
}
}
}Credential source:
- Create
qq-mainin Console UIGlobal / Channel Accounts. - Fill
appId,appSecret, and optionalsandbox/authIdin that channel account.
Start runtime
city agent startVerify channel status
city service status chatGroup behavior
- Group messages are accepted directly (no
@mentionrequired). - If your bot only receives
@messages, verify QQ platform event permissions (especiallyGROUP_MESSAGE_CREATE).
Voice messages (voice/audio)
When extensions.voice.enabled=true, QQ inbound voice/audio attachments are transcribed in best-effort mode and the transcript is appended to the user instruction.
Recommended setup:
city voice on SenseVoiceSmall
city voice statusNotes:
- Transcription failures do not break the main chat flow.
- QQ voice attachment delivery depends on gateway
AUDIO_ACTIONcapability. If your bot app does not have that permission, audio payload fields may be missing.