A WeChat robot unit ,based on the android xposed framework hook to implement WeChat app robot functions
- message callback
- auto reply message
- Add friend callback
- Default to add new friends
- Auto Reply (text, emoticon)
Download latest version And install the corresponding version of WeChat
- android-sdk
- android Simulator or real machine
Git clone https://github.com/546669204/wechatbot-xposed.git
Use Android-Studio open
This project needs to set up a server to accept requests for processing: port 188 accepts callbacks Tcp protocol
Fixed protocol header + 8 byte message length + fixed protocol tail
Example: {28285252_hcaiyue_top_15159898} HeartBoom{137621_woyaoyigebaojieshula_159687}
Message callback sample
{method:"msgprocess",data:"{takler:\"weid\",content:\"content\",type:\"text\"}"}
Content == "newfriend" callback for new friends
Send message sample
{method:"sendtextmsg",data:"{to:\"weid\",content:\"content\"}"}
The detailed calling method can read the project RebateBot
2018-08-13 Init