Skip to content

Commit

Permalink
增加图片发送相关文档
Browse files Browse the repository at this point in the history
  • Loading branch information
super1207 committed Jun 9, 2022
1 parent c2b684d commit 41a895b
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions doc/AboutSendPic.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
支持onebot格式的图片路径(同时也支持CQ格式的路径):
绝对路径
网络路径
base64路径
如:
[CQ:image,file=D:\doc\luna_sama.jpg]
[CQ:image,file=file:///D:\doc\luna_sama.jpg]
[CQ:image,file=luna_sama.jpg]
[CQ:image,file=file:///luna_sama.jpg]
[CQ:image,file=https://www.baidu.com/img/PCtm_d9c8750bed0b3c7d089fa7d55720d6cf.png]
[CQ:image,file=base64://iVBORw0KGgoAAAANSUhEUgAAABQAAAAVCAIAAADJt1n/AAAAKElEQVQ4EWPk5+RmIBcwkasRpG9UM4mhNxpgowFGMARGEwnBIEJVAAAdBgBNAZf+QAAAAABJRU5ErkJggg==]
但无论如何,涉及的中文路径,请使用ansi编码。
相对路径,以data/image作参考。

0 comments on commit 41a895b

Please sign in to comment.