发送自定义系统通知
POST
/im/v2/custom_notification请求参数
Body 参数application/json
object {0}
示例
{
"sender_id": "apifoxtest33",
"type": 1,
"receiver_id": "apifoxtest32",
"content": "Lorem irure cupidatat deserunt",
"push_config": {
"push_enabled": false,
"push_nick_enabled": true,
"push_content": "nulla qui voluptate",
"push_payload": null,
"push_forcepush_all": true,
"push_forcepush_ids": [
"56"
],
"push_forcepush_content": "pariatur eiusmod anim aliqua"
},
"sound": "in ",
"route_config": {
"route_enabled": false,
"route_environment": "tempor anim eiusmod officia"
},
"notification_config": {
"offline_enabled": false,
"unread_enabled": true
}
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
msg
string
必需
data
object
必需
示例
{
"code": 200,
"msg": "success",
"data": {}
}
最后修改时间: 9 个月前