Skip to main content
xbot
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

QQ Channel

Connect xbot via the QQ official bot protocol. Supports private chats, group chats, and channel messages.

Requires Server mode.

Prerequisites

  1. xbot installed and running in Server mode
  2. A bot app registered on the QQ Open Platform
  3. App ID and Client Secret obtained
  4. WebSocket connection mode enabled

Configuration

{
  "qq": {
    "enabled": true,
    "app_id": "your-app-id",
    "client_secret": "your-client-secret",
    "allow_from": []
  }
}
FieldRequiredDefaultDescription
enabledfalseEnable the QQ channel
app_idQQ Bot App ID
client_secretQQ Bot Client Secret
allow_from[]Whitelist of user openid values; empty = allow all

Usage

  • Private chat: send a message directly to the bot
  • Group chat: @mention the bot + your question
  • QQ Channel: @mention the bot in a channel

Notes

  • QQ channel does not support message updates (patching), so agent streaming rendering and progress notifications are not visible
  • Markdown messages automatically degrade to plain text if sending fails
  • Supports automatic reconnection with exponential backoff

See also