Log in to WeChat via QR code
wechat_loginInitiate WeChat login by scanning a QR code printed to the terminal. Wait for confirmation from the WeChat mobile app to return the connected account ID.
Instructions
Start an interactive WeChat login. A QR code is printed to the server's STDERR/terminal; scan it with the WeChat mobile app and confirm. Blocks until login completes or times out. For first-time setup it is usually easier to run npm run login in a real terminal. Returns the connected account id on success.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeoutMs | No | Max time to wait for the QR scan (default 480000 = 8 min). |