Receive WeChat messages
wechat_receiveLong-poll for new inbound WeChat messages, returning only new ones per account. Automatically downloads and decrypts attached media.
Instructions
Poll for new inbound WeChat messages (one long-poll cycle). Returns messages received since the last poll; the server tracks a per-account sync cursor so repeated calls do not return duplicates. Media (images/voice/files/video) is downloaded and decrypted to local temp files by default, with the path returned in MediaPath. If multiple accounts are logged in, pass accountId.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accountId | No | Account id to poll; required only when multiple accounts are logged in. | |
| timeoutMs | No | Long-poll timeout in ms (default 35000). The server holds the request open up to this long waiting for new messages. | |
| downloadMedia | No | Download + decrypt inbound media to temp files (default true). |