Skip to content

Latest commit

 

History

History
74 lines (62 loc) · 1.17 KB

File metadata and controls

74 lines (62 loc) · 1.17 KB

vchannel.info

返回指定聊天会话的完整信息。

请求方式

GET {base_url}/vchannel.info

请求参数

需要登录

参数名称 参数类型 参数是否必须? 说明 样例
vchannel_id string 聊天会话 id

响应

200

// Channel
{
  "private": false,
  "general": true,
  "latest_ts": 1486367046281,
  "uid": "=bw52O",
  "name": "所有人",
  "is_member": false,
  "is_active": true,
  "type": "normal",
  "topic": null,
  "member_uids": [
    "=bw52O"
  ],
  "vchannel_id": "=bw52O",
  "id": "=bw52O",
  "team_id": "=bw52O"
}

// SessionChannel
{
  "latest_ts": "1489242467694",
  "name": "临时讨论组名称",
  "is_member": true,
  "is_active": true,
  "type": "session",
  "member_uids": [
    "=bw52O"
  ],
  "vchannel_id": "=bw52O",
  "id": "=bw52O",
  "team_id": "=bw52O"
}

// P2PChannel
{
  "id": "=bw52O",
  "team_id": "=bw52O",
  "vchannel_id": "=bw52O",
  "type": "p2p",
  "is_active": true,
  "is_member": true,
  "member_uids": [
    "=bw52O",
    "=bw52P"
  ],
  "latest_ts": 1485238998284
}