跳到主要内容

更新消息

更新消息

路径参数
message_id uuid 必需
请求体 必需
text 文本
sender 发送者
sender_name 发送者名称
session_id 会话 ID
files 文件
edit 编辑
error 错误
properties
响应
200

成功响应

架构 可选
timestamp 日期时间 可选
sender 发送者
sender_name 发送者名称
session_id 会话 ID
text 文本
files string[] 可选
error 错误 可选
edit 编辑 可选
properties 对象 可选
text_color 文本颜色 可选
background_color 背景颜色 可选
edited 已编辑 可选
source 对象 可选
id ID 可选

源组件的 ID。

display_name 显示名称 可选

源组件的显示名称。

source 来源 可选

消息的来源。通常用于显示模型名称(例如 'gpt-4o')

icon 图标 可选
allow_markdown 允许 Markdown 可选
positive_feedback 正面反馈 可选
state 状态 可选

可能的值: [部分, 完成]

targets undefined[] 可选
category 类别 可选
content_blocks 对象数组 可选
title 标题
contents 对象数组
allow_markdown 允许 Markdown 可选
media_url 媒体 URL 可选
id uuid
flow_id 流程 ID
422

验证错误

架构 可选
detail 对象数组 可选
loc undefined[]
msg 消息
type 错误类型
Search