Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

function friendRequestAccept #1254

Closed
lijiarui opened this issue May 30, 2018 · 3 comments
Closed

function friendRequestAccept #1254

lijiarui opened this issue May 30, 2018 · 3 comments
Assignees

Comments

@lijiarui
Copy link
Member

#1249

should complete the function: friendRequestAccept() and give a code demo

@huan
Copy link
Member

huan commented May 31, 2018

Usage:

await wechaty.FriendRequest.send(contactId, 'hello')

See Also

https://github.com/Chatie/wechaty/blob/917517045eadb1f154ac409d99d2742df045590f/src/friend-request.ts#L72-L86

@huan
Copy link
Member

huan commented Jun 9, 2018

The latest code had been able to run the friend-bot example, it will accept the friend request with a ding message automatically.

Please test and confirm all is ok before you close this issue.

@lijiarui
Copy link
Member Author

all is ok, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants