From 0c0e7397213c6c64d72255565c6b7cca018bd355 Mon Sep 17 00:00:00 2001 From: lijiarui Date: Wed, 11 Jan 2017 18:54:42 +0800 Subject: [PATCH] readme friendrequest --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 23064386..65910113 100644 --- a/README.md +++ b/README.md @@ -152,8 +152,8 @@ Get to know more about NPM at [Wiki:NPM](https://github.com/wechaty/wechaty/wiki ## [FriendRequest](https://github.com/wechaty/wechaty/wiki/API#class-friendrequest) 1. [hello:string](https://github.com/wechaty/wechaty/wiki/API#friendrequesthello-string) get content from friendrequest -2. [accept():void](https://github.com/wechaty/wechaty/wiki/API#friendrequestaccept-void) accept the friendrequest -3. [send(contact:Contact,hello:string):void](https://github.com/wechaty/wechaty/wiki/API#friendrequestsendcontact-contact-hello-string-void) send a new friend request +2. [accept():Promise](https://github.com/wechaty/wechaty/wiki/API#friendrequestaccept-void) accept the friendrequest +3. [send(contact:Contact,hello:string):Promise](https://github.com/wechaty/wechaty/wiki/API#friendrequestsendcontact-contact-hello-string-void) send a new friend request # Test -- GitLab