- 目录
- DaenWxHook
- 使用说明
- 更新日志
- 回调事件
- 接口文档
- 微信状态检测(Q0000)POST
- 发送文本消息(Q0001)POST
- 修改下载图片(Q0002)POST
- 获取个人信息(Q0003)POST
- 查询对象信息(Q0004)POST
- 获取好友列表(Q0005)POST
- 获取群聊列表(Q0006)POST
- 获取公众号列表(Q0007)POST
- 获取群成员列表(Q0008)POST
- 发送聊天记录(Q0009)POST
- 发送图片(Q0010)POST
- 发送本地文件(Q0011)POST
- 发送分享链接(Q0012)POST
- 发送小程序(Q0013)POST
- 发送音乐分享(Q0014)POST
- 发送XML(Q0015)POST
- 确认收款(Q0016)POST
- 同意好友请求(Q0017)POST
- 添加好友_通过v3(Q0018)POST
- 添加好友_通过wxid(Q0019)POST
- 查询陌生人信息(Q0020)POST
- 邀请进群(Q0021)POST
- 删除好友(Q0022)POST
- 修改对象备注(Q0023)POST
- 千寻微信框架
发送分享链接(Q0012)
POST
/DaenWxHook/client/
请求参数
Body 参数application/json
type
string
必需
data
object
必需
wxid
string
必需
title
string
必需
content
string
必需
jumpUrl
string
点击跳转地址
app
string
可空,例如QQ浏览 器为:wx64f9cf5b17af074d
path
string
图片
示例
{
"type": "Q0012",
"data": {
"wxid": "21257217892@chatroom",
"title": "哈咯",
"content": "点我进入百度",
"jumpUrl": "https://www.baidu.com/",
"app": "wx64f9cf5b17af074d",
"path": "C:\\Users\\13301\\桌面\\result.png"
}
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://127.0.0.1:8805/DaenWxHook/client/' \
--header 'Content-Type: application/json' \
--data-raw '{
"type": "Q0012",
"data": {
"wxid": "21257217892@chatroom",
"title": "哈咯",
"content": "点我进入百度",
"jumpUrl": "https://www.baidu.com/",
"app": "wx64f9cf5b17af074d",
"path": "C:\\Users\\13301\\桌面\\result.png"
}
}'
返回响应
🟢200成功
application/json
Body
code
integer
必需
msg
string
必需
result
object
必需
wxid
string
必需
port
integer
必需
pid
integer
必需
flag
string
必需
timestamp
string
必需
示例
{
"code": 0,
"msg": "string",
"result": {},
"wxid": "string",
"port": 0,
"pid": 0,
"flag": "string",
"timestamp": "string"
}