What to Ask Leina to Do with Weixin Bot
Copy a prompt, add your details, and send it to Leina in your connected team chat.
Long-poll for inbound Weixin bot messages. Pass the returned cursor to the next call to avoid receiving the same updates again.
Get Weixin bot updates and summarize the returned messages. Retain the returned cursor for the next poll and use inbound context for any requested reply.
Send a text reply from the connected Weixin bot to a user or conversation.
Send text [text] to user [toUserId] using context token [contextToken from that user’s inbound update].
Download, encrypt, upload, and send an image, video, or file from a public URL.
Send file URL [fileUrl] with mediaType file to [toUserId], using [contextToken from that user’s recent inbound update] and file name [fileName].
Get Started with Weixin Bot
-
Connect Your Account
Connect with Bot Token (botToken), Bot Account ID (accountId).
-
Try a Task
Tell Leina what you need in your team chat. Include the source, destination, and expected result.
Set Up Leina in Your Chat → -
Check the Result
Review the result and any changes in the connected app.
Supported Weixin Bot Capabilities
The paired Weixin bot supports polling, conversation replies, and media handling. Returned cursors track updates, while context tokens link outgoing messages to the conversation.
- Review Incoming Weixin Messages
-
Long-poll for inbound Weixin bot messages. Pass the returned cursor to the next call to avoid receiving the same updates again.
- Get Updates
- Reply in an Existing Conversation
-
Send a text reply from the connected Weixin bot to a user or conversation.
- Send Message
- Share a File in a Conversation
-
Download, encrypt, upload, and send an image, video, or file from a public URL.
- Send Media
View All 5 Actions
- Get Updates
- Send Message
- Send Media
- Download Media
- Send Typing
Frequently Asked Questions
What can AI help me do with Weixin Bot?
Use AI to review incoming Weixin bot messages and send text or files in an existing conversation.
What should I know before using Weixin Bot results?
Replies require the conversation context token. Media input uses an accessible file URL; reading updates supplies conversation context.
What do I need to connect Weixin Bot?
Pair the bot through the QR login example and supply both botToken and accountId. Reply operations also need context from a recent inbound message.
Your AI employee for Weixin Bot
Tell Leina what you need in your team chat. Include the source, destination, and expected result.