创建聊天室
开发中POST
/im/v2/chatrooms请求参数
Body 参数application/json
object {0}
示例
{
"antispam_business_id": "{\"textbid\":\"39ab456a6469ab6404a54de316672ffd\"}",
"announcement": "announcement",
"creator": "yx29",
"extension": "extension",
"room_name": "room_name",
"live_url": "broadcast_url",
"queue_level": 0,
"delay_close_policy": 0,
"delay_seconds": 0,
"in_out_notification": true
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
msg
string
必需
data
object
必需
valid
boolean
必需
extension
string
必需
creator
string
必需
announcement
string
必需
room_name
string
必需
chat_banned
boolean
必需
live_url
string
必需
room_id
integer
必需
queue_level
integer
必需
示例
{
"code": 200,
"msg": "success",
"data": {
"valid": true,
"extension": "extension",
"creator": "yx29",
"announcement": "announcement",
"room_name": "room_name",
"chat_banned": false,
"live_url": "broadcast_url",
"room_id": 1605537148,
"queue_level": 0
}
}
最后修改时间: 8 个月前