提交 2d3f57d2 编写于 作者: L lijiarui 提交者: Huan (李卓桓)
上级 6ea7cb53
......@@ -341,7 +341,7 @@ export class Contact extends Accessory implements Sayable {
*
* import { FileBox } from 'file-box'
* const fileBox1 = FileBox.fromUrl('https://chatie.io/wechaty/images/bot-qr-code.png')
* const fileBox2 = FileBox.fromLocal('/tmp/text.txt')
* const fileBox2 = FileBox.fromFile('/tmp/text.txt')
* await contact.say(fileBox1)
* await contact.say(fileBox2)
*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册