发送群聊文字+图片
POST
/send_group_msg请求参数
Body 参数application/json
group_id
integer
必需
message
array [object {2}]
必需
type
enum<string>
必需
枚举值:
["text","image"]
data
object
必需
示例
{
"group_id": 379450326,
"message": [
{
"type": "text",
"data": {
"text": "HelloKitty"
}
},
{
"type": "image",
"data": {
"file": "http://i0.hdslb.com/bfs/archive/c8fd97a40bf79f03e7b76cbc87236f612caef7b2.png"
}
}
]
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
status
string
必需
retcode
integer
必需
data
object
必需
message_id
integer
必需
message
string
必需
wording
string
必需
示例
{
"status": "ok",
"retcode": 0,
"data": {
"message_id": 696124706
},
"message": "",
"wording": ""
}
最后修改时间: 1 个月前