Build a WeChat chatbot that automatically replies to user messages based on content or message type.
Create a WeChat service account that handles text, image, or location messages with separate Python handler functions.
Add automated customer service responses to a business WeChat Official Account without managing raw XML webhooks.
Requires a WeChat Official Account with API credentials and a publicly accessible server for webhook delivery.
WeRoBot is a Python framework for building WeChat Official Account (also known as WeChat Public Platform) applications. WeChat Official Accounts are subscription or service accounts that businesses and developers set up within the WeChat messaging app to send content to followers and respond to their messages. The framework lets developers write Python code that listens for incoming messages from WeChat users and sends replies back. The README shows a minimal example: you create a robot object, write a function decorated with a message-type handler, and the function's return value becomes the reply. In the example, any text message sent to the account gets the reply "Hello World!" The README is written mostly in Chinese, but the code examples are in English. Documentation is hosted separately at the ReadTheDocs platform and covers the full API. Installation is done through pip, Python's standard package manager. The project is released under the MIT license and has received contributions from a community of developers.
← offu on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.