Skip to content

微信 ClawBot 适配器配置

平台名 wechat-clawbot。约定大于配置:多数项由适配器固定,YAML 通常只需账号段与可选超时。

配置格式

yaml
wechat-clawbot.{account_id}:
  # 可选
  # qr_login_timeout_ms: 480000
  # polling_timeout_ms: ...
  # polling_retry_delay_ms: ...

配置项说明

字段名类型必填描述
account_idstring写在配置键名中(wechat-clawbot.xxxxxx),OneBots 内唯一
qr_login_timeout_msnumber扫码登录总超时(毫秒),默认 480000
polling_timeout_msnumbergetupdates 长轮询超时
polling_retry_delay_msnumber轮询出错后的重试间隔

API 根、CDN、bot_type、默认扫码登录等不在 YAML 填写,见适配器 README 中的约定表。

相关文档