Skip to content

WeChat ClawBot adapter configuration

Platform id wechat-clawbot. Most endpoints and defaults are fixed by the adapter; YAML usually only needs the account key and optional timeouts.

Format

yaml
wechat-clawbot.{account_id}:
  # optional
  # qr_login_timeout_ms: 480000
  # polling_timeout_ms: ...
  # polling_retry_initial_delay_ms: 1000
  # polling_retry_max_delay_ms: 30000

Fields

FieldTypeRequiredDescription
account_idstringyesPart of the key wechat-clawbot.{account_id}
qr_login_timeout_msnumbernoQR login timeout (ms), default 480000
polling_timeout_msnumbernoLong-poll timeout for getupdates
polling_retry_initial_delay_msnumbernoInitial retry delay; exponential backoff starts at 1000 ms
polling_retry_max_delay_msnumbernoRetry delay ceiling, default 30000 ms

See the adapter README for the full convention table (API root, CDN, bot_type, etc.). Polling recovers indefinitely and an account stop immediately aborts the active request.

The complete account startup boundary is the larger of global timeout and qr_login_timeout_ms rounded up to seconds. The default QR window therefore remains 480 seconds instead of being cut off by the global 30-second default. A timeout or manual stop still cancels QR login, polling, and subsequent protocol startup.

See also