发送聊天室全服广播消息
POST
/im/v2/broadcast_notification/actions/chatroom请求参数
Body 参数application/json
object {0}
示例
"client_broadcast_id": "aaaaaaaa-asdasdsadasda-adasda",
"sender_id": "accid1",
"extension": "occaecat",
"resend_flag": 0,
"message": {
"message_type": 0,
"sub_type": 15063838,
"text": "dolor aliqua ut laboris commodo"
},
"route_config": {
"route_enabled": true,
"route_environment": "amet sunt commodo"
},
"message_config": {
"high_priority": false,
"notify_target_tags": " "
}
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
msg
string
必需
data
object
必需
示例
{
"code": 0,
"msg": "string",
"data": {}
}
最后修改时间: 8 个月前