{
  "description": "在 WhatsApp 会话中使用 nanobot。",
  "requirements": "WhatsApp 连接配置和网关",
  "setup": {
    "primaryAction": "连接 WhatsApp",
    "docsLabel": "打开 WhatsApp 配置指南",
    "officialLabel": "打开 WhatsApp 帮助",
    "tryIt": "终端登录完成后，向已连接的账户发送一条 WhatsApp 私信。",
    "summary": "使用要运行机器人的 WhatsApp 账户扫描二维码即可完成连接。",
    "steps": [
      "运行下方显示的 WhatsApp 登录命令。",
      "用手机 WhatsApp 扫描终端中的二维码。",
      "登录后返回这里，启用 WhatsApp，然后发送一条私信测试。"
    ],
    "fields": {
      "allowFrom": {
        "label": "允许的联系人",
        "placeholder": "电话号码或 WhatsApp ID"
      },
      "groupPolicy": {
        "label": "群组行为",
        "choices": {
          "mention": "仅提及时",
          "open": "所有消息",
          "allowlist": "白名单"
        }
      }
    }
  }
}
