Skip to content

编辑消息

https://chat-go.jwzhd.com/open-apis/v1/bot/edit?token=xxxxxxxxxx

curl --location --request POST 'https://chat-go.jwzhd.com/open-apis/v1/bot/edit?token=xxxxxxxxxx' \
--header 'Content-Type: application/json' \
--data-raw '{
"msgId": "xxxxxxx",
"recvId": "7058262",
"recvType": "user",
"contentType": "text",
"content": {
"text": "这里是消息内容"
}
}'
Content-Type: "application/json; charset=utf-8"
字段类型是否必填说明
msgIdstring消息ID
recvIdstring接收消息对象ID,用户: userId 群: groupId
需与原消息保持一致
recvTypestring接收对象类型,用户: user 群: group
需与原消息保持一致
contentTypestring消息类型,取值如下
text\image\file\markdown\html
contentContent对象消息对象, 具体值见发送消息
字段类型说明
codeint响应代码
msgstring响应信息,包括异常信息
dataObject返回数据