Loading...
Loading...
Compare original and translation side by side
send_to_wechatwechatsend_to_wechatwechatconfig/context/references/messaging-channels.mdskills/tg-bot-binding/SKILL.mdconfig/context/references/messaging-channels.mdskills/tg-bot-binding/SKILL.mdqrcode → user scans → qrcode_status(qrcode=...) → connect(bot_token=...)wechat(action="qrcode")qrcodefile_pathfile_pathsend_to_telegramfile_pathwechat(action="qrcode_status", qrcode=<id from step 1>)bot_tokenwechat(action="connect", bot_token=<from step 4>)ilink_bot_idilink_user_idqrcode → 用户扫码 → qrcode_status(qrcode=...) → connect(bot_token=...)wechat(action="qrcode")qrcodefile_pathfile_pathsend_to_telegramfile_pathwechat(action="qrcode_status", qrcode=<步骤1中的ID>)bot_tokenwechat(action="connect", bot_token=<步骤4返回值>)ilink_bot_idilink_user_id| action | required | purpose |
|---|---|---|
| — | Current WeChat connection state. Use before reconnect, to verify binding. |
| — | Generate QR code image (saved to workspace). Returns |
| | Poll whether user has scanned + confirmed. Returns |
| | Complete a NEW WeChat connection (after first-ever QR scan). Optional: |
| — | Terminate current WeChat session (unlink). |
| | Re-establish a previously-bound WeChat (token from a fresh QR scan). |
| action | 必填项 | 用途 |
|---|---|---|
| — | 当前微信连接状态。重新连接前使用,用于验证绑定状态。 |
| — | 生成二维码图片(保存至工作区)。返回 |
| | 轮询用户是否已扫码并确认。成功时返回 |
| | 完成首次微信连接(首次扫码后)。可选参数: |
| — | 终止当前微信会话(解绑)。 |
| | 重新建立之前绑定过的微信连接(需通过新扫码获取token)。 |
connectreconnectstatusconnected: falseconnectconnected: falsereconnectconnectreconnectstatusconnected: falseconnectconnected: falsereconnect| User channel | How to show the QR |
|---|---|
| Web | Include |
| Telegram | |
| (You can't — they're trying to bind WeChat in the first place. Tell them to open the web app.) |
| 用户渠道 | 二维码展示方式 |
|---|---|
| Web | 在回复中包含 |
| Telegram | |
| (无法展示——用户本身就是要绑定微信,告知用户打开Web应用操作) |
qrcode_statusqrcodeqrcodeqrcodebot_tokenqrcode_statusconnectreconnectdisconnectqrcode_statusqrcodeqrcodebot_tokenqrcode_statusconnectreconnectdisconnect