发送私聊回复
POST
/send_private_msg
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/send_private_msg' \
--header 'Content-Type: application/json' \
--data-raw '{
"user_id": 123456,
"message": [
{
//第一个必须为reply
"type": "reply",
"data": {
"id": 1263753202
}
},
{
"type": "text",
"data": {
"text": "回复你了"
}
}
]
}'
响应示例响应示例
{
"status": "ok",
"retcode": 0,
"data": {
"message_id": 696124706
},
"message": "",
"wording": ""
}
请求参数
Body 参数application/json