来自 Shopee 官方资料快照 ·
- 当前资料结构化阅读页
- 固定快照已留存,可追溯
- 官方原文可核对
资料正文
§1 4 Brand New Chat APIs and an Improved v2.get.message API
Dear Developers,
We're excited to announce some updates on the Chat OpenAPI, aimed at enhancing sellers' and your experience:
-
Shopee has added a new OpenAPI v2.sellerchat.manage_offer for accepting and rejecting offers, as well as v2.sellerchat.get_offer_detail for viewing detailed information about offers
-
Shopee has also introduced two new OpenAPIs, v2.sellerchat.mute_conversation and v2.sellerchat.unmute_conversation, for mute and unmute message notifications for a conversation.
-
In the "content" field of v2.sellerchat.get_message API, we have added an "image_url" field for getting "sticker" content and a "video_url" field for getting "video" content, both corresponding to the message_type of the message.
-
v2.sellerchat.get_message API now supports batch message retrieval using the "message_id_list" request parameter.
For more details, you can refer to API document
Related APIs:
v2.sellerchat.get_message
v2.sellerchat.manage_offer (new)
v2.sellerchat.get_offer_detail (new)
v2.sellerchat.mute_conversation (new)
v2.sellerchat.unmute_conversation (new)
Effective Date: 2023/03/10
尊敬的开发者:
我们很高兴为您介绍聊聊 OpenAPI 新变动,希望能提升您的使用体验
- 虾皮新增 v2.sellerchat.manage_offer 接口用于接受和拒绝买家出价(offer),新增 v2.sellerchat.get_offer_detail 接口用于查看出价的详细信息
2.虾皮新增接口 v2.sellerchat.mute_conversation 和 v2.sellerchat.unmute_conversation 用于设置和取消会话的消息免打扰
-
v2.sellerchat.get_message 接口的 "content" 字段内,对于"message_type" 为 sticker 新增 image_url 字段获取表情包内容,对于 "message_type" 为"video" 的消息新增 "video_url" 字段用于获取视频内容
-
v2.sellerchat.get_message 支持请求参数 "message_id_list" 批量获取消息内容
如需了解更多详情请参考 API 文档
影响接口:
v2.sellerchat.get_message
v2.sellerchat.manage_offer (new)
v2.sellerchat.get_offer_detail (new)
v2.sellerchat.mute_conversation (new)
v2.sellerchat.unmute_conversation (new)
生效日期:2023/03/10
