SkillAgentSearch skills...

Wequick

wechat PC hook API 微信 API 微信协议 适配所有类型个人微信号及版本

Install / Use

/learn @juguang2018/Wequick
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

WeChat API 个人微信号API/微信协议/独家接口/PC hook

适配所有类型个人微信号及版本

支持傻瓜式二次开发

WeQuick 接口规范

alt logo


商务合作请加微信:DiscoveryUpup

<img src="https://wequick-1257130190.cos.ap-shanghai.myqcloud.com/img/service.png" width="120" align=center/>

正常使用软件不会导致封号。

杀毒软件会对软件的正常运行构成影响,导致各种问题,请在使用前关闭杀毒软件。


注意事项

指令发出的方式有两种

  1. 通过 send_msg 轮询接口发出
  2. 通过 receive_msg 接口 return 发出

接口所用编码均为utf-8编码

服务端发出的指令格式应该是一个json数组,示例:

[{"sendId":"","api":"sendTextMessage","option":{"wxid":"","text":""}}]

receive_msg

一.监听微信内部发生的各种事件,并主动向回调接口发送这些事件的详细信息. 这些事件的种类有:

登录登出

  1. 上报登陆二维码(reportQrCodeMessage)
  2. 上报当前登录微信详细信息(reportLoginUser)
  3. 上报退出登录事件(reportLogout)

好友相关

  1. 上报普通好友列表(reportContacts)
  2. 上报企业好友列表(reportImContacts)
  3. 上报公众号列表(reportPublics)
  4. 上报单个普通好友信息(reportSingleContact)
  5. 上报任意普通微信反查详细信息(reportUpdateContact)
  6. 上报联系人新增通知(reportContactAdd)
  7. 上报联系人删除通知(reportContactDel)

群相关

  1. 上报普通群列表(reportChatRooms)
  2. 上报企业群列表(reportImRooms)
  3. 上报单个普通群成员信息(reportSingleChatRoomMembers)
  4. 上报单个企业群成员信息(reportSingleImRoomMembers)
  5. 上报通过二维码进群返回状态(reportAcceptQrCodeChatRoom)
  6. 上报群成员新增通知(reportChatRoomMemberAdd)
  7. 上报群成员删除通知(reportChatRoomMemberDel)
  8. 上报检测到的新群通知(reportNewChatRoom)
  9. 上报退群或被踢通知(reportChatRoomQuit)

消息相关

  1. 上报文本消息(reportTextMessage)
  2. 上报图片消息(reportPicMessage)
  3. 上报文件消息(reportFileMessage)
  4. 上报视频消息(reportVideoMessage)
  5. 上报语音消息(reportVoiceMessage)
  6. 上报GIF表情消息(reportGifMessage)
  7. 上报个人名片消息(reportCardMessage)
  8. 上报位置消息(reportLocationMessage)
  9. 上报链接消息(网页或群邀请)(reportLinkMessage)
  10. 上报小程序消息(reportMiniMessage)
  11. 上报转账消息(reportTransferMessage)
  12. 上报无痕清理僵尸粉消息(reportZombieCheckMessage)
  13. 上报解密图片消息(reportDecryptPicMessage)
  14. 上报二维码付款消息(reportQrCodeWcPay)
  15. 上报收藏列表(reportFavitems)
  16. 上报系统消息(reportSystemMessage)
  17. 上报其他消息(reportOtherMessage)
  18. 上报其他接收应用未知消息(reportOtherAppMessage)

请求相关

  1. 上报新的加好友请求(reportFriendAddRequest)
  2. 上报加好友指令返回状态(reportAddFriendMessage)
  3. 上报通过手机号/微信号/QQ号查询任意微信号信息(reportSearchContact)

其他

  1. 上报数据库查询结果(reportSqlData)
  2. 上报扫描二维码结果(reportScanQrcodePic)
  3. 上报当前聊天对象改变(reportTalkerChange)
  4. 上报语音翻译结果(reportTransVoice)
  5. 上报URL访问状态(reportCheckUrlStatus)

send_msg

二. 执行回调接口下发的指令: 这些指令包括:

登录登出

  1. 打开微信(openWeChat)
  2. 获取二维码(getLoginQrCode)
  3. 获取当前登录微信详细信息(getLoginUser)
  4. 退出微信(logout)

好友相关

  1. 获取普通好友列表(getContacts)
  2. 获取企业好友列表(getImContacts)
  3. 获取公众号列表(getPublics)
  4. 获取单个普通好友信息(getSingleContact)
  5. 任意普通微信反查详细信息(updateContact)
  6. 添加好友(addFriend)
  7. 删除好友/取消关注公众号(delFriend)
  8. 修改好友备注(updateRemark)
  9. 接收加好友请求(acceptFriend)
  10. 接收好友转账(acceptBankTransfer)
  11. 退还好友转账(refuseFriendWcpay)
  12. 自动同意加好友申请(autoAcceptFriend)
  13. 自动同意好友转帐(autoAcceptWcpay)
  14. 自动加名片(autoAcceptCard)
  15. 单向加好友(acceptOnewayFriend)
  16. 通过手机号/微信号/QQ号查询任意微信号信息(searchContact)
  17. 添加通过任意手机号/微信号/QQ号查询的联系人(addSearchContact)

群相关

  1. 获取普通群列表(getChatRooms)
  2. 获取企业群列表(getImRooms)
  3. 获取单个普通群成员信息(getSingleChatRoomMembers)
  4. 获取单个企业群成员信息(getSingleImRoomMembers)
  5. 网络更新普通群成员信息(updateChatRoom)
  6. 发送40人以下群邀请(sendChatroomLow)
  7. 发送40人以上群邀请(sendChatroomHigh)
  8. 接受群邀请(acceptChatroomInvite)
  9. 踢群成员(delChatRoomMembers)
  10. 修改群名称(updateChatRoomName)
  11. 修改群公告(sendChatRoomNotice)
  12. 修改我在本群的昵称(updateChatRoomDisplayName)
  13. 是否显示群昵称(showDisplayName)
  14. 创建群聊(createChatRoom)
  15. 退出并删除群(quitDelChatRoom)
  16. 自动接受群邀请(autoAcceptChatRoom)
  17. 通过二维码进群(acceptQrcodeChatRoom)
  18. 保存到/移出通讯录(saveRoomToContact)

消息相关

  1. (腾讯已不支持)任意消息转发(transAnyMessage)
  2. 发送文本消息(sendTextMessage)
  3. 发送群内@文本消息(sendAtTextMessage)
  4. 发送图片(sendPicMessage)
  5. 发送文件(sendFileMessage)
  6. 发送视频(sendVideoMessage)
  7. 发送GIF表情(sendGifMessage)
  8. 发送链接消息(sendLinkMessage)
  9. 发送名片(sendCardMessage)
  10. 发送小程序(sendMiniMessage)
  11. 发送收藏(sendFavorite)
  12. 发送xml消息(sendXmlMessage)
  13. 发送名片xml消息(sendCardXmlMessage)

请求相关

  1. 关注公众号(addPublic)
  2. 获取收藏列表(getFavorites)
  3. 收藏指定消息(addFavoriteFrom)
  4. 语音翻译(transVoice)
  5. 无痕清粉(zombieCheck)
  6. 解密图片(decryptPic)
  7. 获取未读消息数量(unreadMsgCountChange)
  8. 清理微信聊天记录(clearChatHistory)

其他

  1. 识别二维码(scanQrcodePic)
  2. 开启/关闭消息免打扰(modRecvNotify)
  3. 置顶/取消置顶聊天(chatSessionTop)
  4. 打开内置浏览器(openBrowser)
  5. 开启/关闭防撤回功能(disableRevoke)
  6. 检测URL在微信中是否有效(checkUrlStatus)
  7. 查询微信数据库(getSqlData)
  8. 关闭进程(closeProcess)

receive_msg

参数说明

|数据格式中的参数|参数的含义| |:--------------|:-------| |action |上报的名称| |cwxid |当前登录微信账号的微信 ID| |data |上报的数据|

数据格式

{
    "action" : "",
    "cwxid" : "",
    "data" : {}
}

send_msg 任务下发到DLL的响应

{
    "action":"",
    "cwxid":"",
    "data":{"errorReason":"","sendId":"","sendResult":""},
}

01. <span id="reportQrCodeMessage">上报登陆二维码(reportQrCodeMessage)</span>

参数说明

|data中的参数|参数说明| |:-----------|:-------| |file |二维码图片的保存地址| |base64 |二维码图片的 base64 格式|

{
    "data":{
        "action":"reportQrCodeMessage",
        "cwxid":"null",
        "data":{
            "file":"",
            "base64":""
        }
    }
}

02. <span id="reportLoginUser">上报当前登录微信详细信息(reportLoginUser)</span>

参数说明

|data中的参数|参数说明| |:-----------|:-------| |wxid |微信id| |nick |微信昵称| |headPic |头像的url地址| |phone |手机号| |unreadmsg |未读消息数量| |wxdir |该账号微信缓存文件夹|

{
    "data":{
        "action":"reportLoginUser",
        "cwxid":"xxxxxx",
        "data":{
            "wxid":  "wxid",
            "nick": "xxxxx",
            "headPic":"xxxxx",
            "phone" :"xxxx",
            "unreadmsg":"http://xxxxxxxx",
            "wxdir" : 0
        }
    }
}

03. <span id="reportLogout">上报退出登录事件(reportLogout)</span>

{
    "data":{
        "action":"reportLogout",
        "cwxid":"xxxxxx",
        "data":{}
    }
}

04. <span id="reportContacts">上报普通好友列表(reportContacts)</span>

参数说明

|data中的参数|参数说明| |:-----------|:-------| |wxid |微信id| |alias |微信号(有可能为空)| |nick |微信昵称| |remark |好友备注| |headPic |头像的url地址| |sex |性别:1男,2女,0(未知)| |country |祖国(可能为空)| |province |省份(可能为空)| |city |城市(可能为空)|

{
    "data":{
        "action":"reportContacts",
        "cwxid":"xxxxxx",
        "data":{
            "friendList":[
                {
                    "wxid":  "wxid_xxxx",
                    "alias": "xxxxx",
                    "nick":"xxxxx",
                    "remark" :"xxxx",
                    "headPic":"http://xxxxxxxx",
                    "sex" : 1,
                    "country":"xxx",
                    "province":"xxxx",
                    "city":"xxxxx"
                }
            ]
        }
    }
}

05. <span id="reportImContacts">上报企业好友列表(reportImContacts)</span>

参数说明

|data中的参数|参数说明| |:-----------|:-------| |wxid |微信id| |nick |微信昵称| |remark |好友备注| |headPic |头像的url地址|

{
    "data":{
        "action":"reportImContacts",
        "cwxid":"xxxxxx",
        "data":{
            "friendList":[
                {
                    "wxid":  "wxid_xxxx",
                    "nick":"xxxxx",
                    "remark" :"xxxx",
                    "headPic":"http://xxxxxxxx"
                }
            ]
        }
    }
}

06. <span id="reportPublics">上报公众号列表(reportPublics)</span>

参数说明

|data中的参数|参数说明| |:-----------|:-------| |wxid |某些公众号也可能以wxid_ 开头| |nick |公众号名称| |headPic |公众号头像的ur

View on GitHub
GitHub Stars610
CategoryDevelopment
Updated10h ago
Forks68

Security Score

80/100

Audited on Apr 8, 2026

No findings