创建一个临时讨论组。
POST {base_url}/session_channel.create
需要登录
参数名称 | 参数类型 | 参数是否必须? | 说明 | 样例 |
---|---|---|---|---|
name |
string |
否 | 讨论组名称,可以包含 2 到 20 个英文字符或 1 到 10 个中文字符。允许使用数字、下划线 (_ )、中线 (- ) 和点。 |
吃喝玩乐在深圳 |
member_uids |
array |
是 | 临时讨论组成员 id 列表 | ["=bw52O", "=bw52P"] |
{
"latest_ts": "1489242467694",
"name": "临时讨论组名称",
"is_member": true,
"is_active": true,
"type": "session",
"member_uids": [
"=bw52O"
],
"vchannel_id": "=bw52O",
"id": "=bw52O",
"team_id": "=bw52O"
}
{
"code": // error code,
"error": "unexpected error"
}