From 3adc6ddfe0f1962197e6b0ccc29dd15d698c4221 Mon Sep 17 00:00:00 2001 From: ryoii Date: Sun, 5 Apr 2020 17:42:12 +0800 Subject: [PATCH] Update README.md --- MessageType.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/MessageType.md b/MessageType.md index 1106a934..8200fb0b 100644 --- a/MessageType.md +++ b/MessageType.md @@ -112,6 +112,20 @@ | url | String | 图片的URL,发送时可作网络图片的链接;接收时为腾讯图片服务器的链接,可用于图片下载 | | path | String | 图片的路径,发送本地图片,相对路径于`plugins/MiraiAPIHTTP/images` | +#### FlashImage + +```json5 +{ + "type": "FlashImage", + "imageId": "{01E9451B-70ED-EAE3-B37C-101F1EEBF5B5}.png", //群图片格式 + //"imageId": "/f8f1ab55-bf8e-4236-b55e-955848d7069f" //好友图片格式 + "url": "http://xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", + "path": null +} +``` + +同 `Image` + > 三个参数任选其一,出现多个参数时,按照imageId > url > file的优先级 #### Xml