Skip to content

cixingguangming55555/wechat-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Wechat-bot

GitHub license

Notice

image image

support:3.9.9.43,64bit,Tested only on Win11 Home Edition

Usage

server

start:run funtool or funtool -p port,default port is 5555

exit:CTRL + C

切记:不要在接收消息的时候退出

image

client

websocket:ws://127.0.0.1:5555/websocket 
http api(post):
      http://127.0.0.1:5555/api/get_contact
      http://127.0.0.1:5555/api/get_chatroom  (Get groups and group members, WeChat with too many groups will crash)
      http://127.0.0.1:5555/api/get_chatroom_v1 (Get group and group member index: idx)
      http://127.0.0.1:5555/api/get_member      (Obtain the wxid of group members based on the idx obtained from get_chatroom_v1, and http://127.0.0.1:5555/api/get_chatroom_v1 Paired use)
      http://127.0.0.1:5555/api/get_myself
      http://127.0.0.1:5555/api/send_txt(见http.js)
      http://127.0.0.1:5555/api/send_pic (见http.js)
      http://127.0.0.1:5555/api/get_nick (见http.js)
message type:
   886:anti revoke(not open)
   887:receive adn save image to path

ChangeLog

v0.0.93

  • heart beat support;disable auto update

v0.0.94

  • get_chatroom_v1 + get_member === get_chatroom