

想要找到一部心心念念的老电影,或者追一部最新的热门剧集,又或是获取消息格式
每条消息是一个对象,包含以下字段:
type: 消息类型,必须是以下之一:"text" - 文本消息"image" - 图片消息"audio" - 音频消息"video" - 视频消息"file" - 文件消息"location" - 位置消息"sticker" - 贴纸消息"system" - 系统消息content: 消息内容,根据类型不同而不同sender: 发送者,必须是以下之一:"user" - 用户发送的消息"assistant" - 助手发送的消息"system" - 系统发送的消息{
"type": "text",
"content": "消息文本内容",
"sender": "assistant"
}
{
"type": "image",
"content": {
"url": "图片URL",
"caption": "图片描述(可选)"
},
"sender": "assistant"
}
{
"type": "audio",
"content": {
"url": "音频URL",
"duration": 时长(秒),
"caption": "音频描述(可选)"
},
"sender": "assistant"
}
{
"type": "video",
"content": {
"url": "视频URL",
"duration": 时长(秒),
"caption": "视频描述(可选)"
},
"sender": "assistant"
}
{
"type": "file",
"content": {
"url": "文件URL",
"filename": "文件名",
"caption": "文件描述(可选)"
},
"sender": "assistant"
}
{
"type": "location",
"content": {
"latitude": 纬度,
"longitude": 经度,
"address": "地址描述"
},
"sender": "assistant"
}
{
"type": "sticker",
"content": {
"id": "贴纸ID",
"pack": "贴纸包名称(可选)"
},
"sender": "assistant"
}
{
"type": "system",
"content": "系统消息内容",
"sender": "system"
}
