Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ryoii committed Apr 5, 2020
1 parent 8a7bdd8 commit 3adc6dd
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions MessageType.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3adc6dd

Please sign in to comment.