p2p

返回 P2P 聊天会话列表,获取某个 P2P 会话的完整信息,请使用 p2p.info.

get/p2p.list

Response

request success

idstring required
team_idstring required
vchannel_idstring required

聊天会话 id

type'normal' | 'session' | 'p2p' required

聊天会话类型

is_activeboolean required

会话是否有效

is_memberboolean required

当前用户是否为对话成员?

member_uidsResponseObjectId[] required

P2P 对话成员 id 列表

latest_tsinteger required

P2P 对话最新一条消息的 ts

Changes

Changed in 4 of the 30 revisions of this API.26

    • api tag p2p added

      api-tag-added

    • added the success response with the status 200

      response-success-status-added

  • b37660ad33e511See the full diff
    • removed the success response with the status 200

      response-success-status-removed

    • api tag p2p removed

      api-tag-removed

    • api tag p2p added

      api-tag-added

    • added the success response with the status 200

      response-success-status-added

  • ef71aa69117111See the full diff
    • removed the success response with the status 200

      response-success-status-removed

    • api tag p2p removed

      api-tag-removed

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog