WeChat Integration
Suzent can receive and reply to WeChat messages through Tencent's iLink Bot HTTP API.
Setup
- Install or enable the WeChat ClawBot/OpenClaw flow for your account.
- Open Settings → Social Channels and enable WeChat.
- Click Log in with WeChat.
- Scan the QR code with WeChat. Suzent saves the returned
bot_tokenandbase_urlintoconfig/social.json, and adds the scanningilink_user_idto WeChat'sallowed_userswhen the API returns it.
Configuration
Add the following to your config/social.json:
"wechat": {
"enabled": true,
"bot_token": "YOUR_WECHAT_ILINK_BOT_TOKEN",
"base_url": "https://ilinkai.weixin.qq.com",
"channel_version": "1.0.2",
"get_updates_buf": "",
"allowed_users": []
}
Notes
- WeChat replies require the latest inbound
context_token, so Suzent can reply to conversations that have messaged it during the current process. - Text receive/send is supported. Media receive is preserved as attachment metadata, and encrypted CDN upload/download support is not implemented yet.
- QR login authenticates Suzent to the WeChat iLink service.
allowed_usersis still the sender allowlist for incoming messages. The scanner is auto-added whenget_qrcode_statusreturnsilink_user_id; add more WeChat sender or group IDs only if you want other conversations to access Suzent.