From 331c9f6f985b67bf06f2035a38858f411cdef22a Mon Sep 17 00:00:00 2001 From: ryoii Date: Mon, 27 Nov 2023 16:08:30 +0800 Subject: [PATCH] Add `ShortVideo` in MessageType.md --- docs/api/MessageType.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/docs/api/MessageType.md b/docs/api/MessageType.md index 1684becb..30531830 100644 --- a/docs/api/MessageType.md +++ b/docs/api/MessageType.md @@ -513,6 +513,32 @@ | name | String | 文件名 | | size | Long | 文件大小 | +### ShortVideo + +```json5 +{ + "type": "ShortVideo", + "videoId": "", + "fileMd5": "", + "fileSize": 0, + "fileFormat": "", + "filename": "", + "videoUrl": "", + "thumbnailUrl": null +} +``` + +| 名字 | 类型 | 说明 | +|--------------| ------ |------------------------| +| videoId | String | 短视频id | +| fileMd5 | String | 短视频MD5 | +| fileSize | Long | 文件大小 | +| fileFormat | String | 文件格式 | +| filename | String | 文件名,不含扩展名 | +| videoUrl | String | 适配文件下载地址, 离线消息可能为 null | +| thumbnailUrl | String | 封面地址,一般为 null | + + ### MiraiCode ```json5