- wmi_api
- 开发指南
- 账号接口
- 消息接口
- 好友接口
- 标签接口
- 群接口
- 朋友圈接口
- 消息推送
发送引用消息
开发中
POST
/v1/message/sendrefer
请求参数
Header 参数
token
string
可选
Body 参数application/json
uuid
string
设备ID
contactid
string
接受者id
content
string
消息内容
refnewmsgid
string
引用消息id
refcontenttype
integer
引用消息类型
refcontent
string
引用消息内容
refusername
string
引用消息发送者wxid
refnickname
string
引用消息发送者昵称
msgsource
string
必需
示例
{
"uuid": "",
"contactid": "",
"content": "",
"newmsgid": "",
"contenttype": 0,
"refcontent": "",
"refusername": "",
"refnickname": "",
"msgsource": ""
}
返回响应
🟢200成功
application/json
Body
code
integer
必需
data
object
必需
addtime
string
消息添加时间
clientmsgid
string
消息ID
content
string
发送内容
createtime
string
消息发送时间
msgid
string
消息id
newmsgid
string
消息id
uuid
string
发送者UUID
wxid
string
发送者微信号
text
string
必需
rowcount
integer
必需
showmsg
boolean
必需
示例
{
"code": 200,
"data": {
"addtime": "1740831094776739000",
"clientmsgid": "1289120102",
"content": "在不?",
"createtime": "1740831094",
"msgid": "1289120102",
"newmsgid": "7165249336585184846",
"uuid": "",
"wxid": ""
},
"message": "成功",
"rowcount": 0,
"showmsg": false,
"statusText": ""
}