功能:完善聊天媒体展示与交易事件兼容
- 支持保存并展示会话关联商品主图 - 支持识别、持久化和播放 AMR 语音消息及其时长 - 补齐聊天接口 OpenAPI 契约、跨方言迁移和前端构建资源 - 兼容嵌套交易事件字段并避免改价卡片重复触发拍下事件
This commit is contained in:
1 parent
50eca2fca6
commit
58f91ac77d
58 files changed
+1040
-209
No files matched your search
@@ -2460,6 +2460,7 @@ export interface components {
|
||||
buyer_avatar_url?: string;
|
||||
item_id?: string;
|
||||
item_title?: string;
|
||||
item_image_url?: string;
|
||||
last_message: string;
|
||||
last_message_at: number;
|
||||
unread_count: number;
|
||||
@@ -2474,8 +2475,9 @@ export interface components {
|
||||
sender_id: string;
|
||||
sender_name: string;
|
||||
/** @enum {string} */
|
||||
message_type: "text" | "image" | "video" | "system";
|
||||
message_type: "text" | "image" | "video" | "audio" | "system";
|
||||
content: string;
|
||||
media_duration?: number;
|
||||
/** @enum {string} */
|
||||
status: "received" | "sending" | "sent" | "failed";
|
||||
read_status?: number;
|
||||
|
||||
Reference in new issue
Block a user