{
  "description": "Use nanobot from QQ chats.",
  "requirements": "QQ bot credentials and gateway",
  "setup": {
    "docsLabel": "Open QQ setup",
    "officialLabel": "Open QQ bot console",
    "tryIt": "Send a direct or group test message from QQ.",
    "summary": "QQ uses the official bot credentials and a long WebSocket connection.",
    "steps": [
      "Create a bot in QQ Open Platform and copy its App ID and Secret.",
      "Choose the message format and optional sender allowlist.",
      "Save and enable QQ, then send a direct or group test message."
    ],
    "fields": {
      "appId": {
        "label": "App ID",
        "placeholder": "QQ bot app ID",
        "help": "Copy it from QQ Open Platform."
      },
      "secret": {
        "label": "Secret",
        "placeholder": "••••••",
        "help": "Save this before leaving the QQ credentials page."
      },
      "allowFrom": {
        "label": "Allowed users",
        "placeholder": "Open IDs, comma separated"
      },
      "msgFormat": {
        "label": "Message format",
        "choices": {
          "plain": "Plain text",
          "markdown": "Markdown"
        }
      }
    }
  }
}
