企业微信hook接口协议,控制台下发消息

发布于:2024-04-25 ⋅ 阅读:(101) ⋅ 点赞:(0)
  • 控制台下发群发客户群任务消息
  • {
        "flag": 0, 
        "receiver": 0, 
        "msgid": "109948383577936904", 
        "sender_name": "", 
        "is_room": 1, //1是群 0是外部联系人客户
        "server_id": 12883268, 
        "title": "消息111111", 
        "send_time": 1677679194, 
        "sender": 10088, 
        "referid": 0, 
        "app_info": "KHGSC_1688853790599424_109948383577936904", 
        "readuinscount": 0, 
        "msg_id": 1115200, 
        "msgtype": 573
    }

  • 控制台群发客户消息任务下发
  • {
        "flag": 0, 
        "receiver": 0, 
        "msgid": "109948395468847538", 
        "sender_name": "", 
        "is_room": 0, 
        "server_id": 12883270, 
        "title": "消息12222", 
        "send_time": 1677679375, 
        "sender": 10067, 
        "referid": 0, 
        "app_info": "KHGSC_1688853790599424_109948395468847538", 
        "readuinscount": 0, 
        "msg_id": 1115206, 
        "msgtype": 573
    }

  • 朋友圈控制台下发
  • {
        "flag": 536870912, 
        "receiver": 0, 
        "sender_name": "", 
        "is_room": 0, 
        "server_id": 12884848, 
        "type": 2, 
        "title": "朋友圈去11111111", 
        "content": "朋友圈内容啊啊啊", 
        "sid": 7217451568562415000, 
        "send_time": 1680443894, 
        "sender": 10086, 
        "author_vid": 1688853790599424, 
        "referid": 0, 
        "app_info": "7217451568562414624_new", //要发送的id 传new_前的数字 自己分割一下
        "readuinscount": 0, 
        "msg_id": 1119290, 
        "msgtype": 529, 
        "seq": 1680443894083
    }

支持语言

c# python java .net  js go c++ 等主流语言

测试地址及文档获取

string wechat = "lxllxllxl567";