Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
lijiarui authored and huan committed Jul 23, 2018
1 parent 6ea7cb5 commit 2d3f57d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/user/contact.ts
Expand Up @@ -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)
*
Expand Down

0 comments on commit 2d3f57d

Please sign in to comment.