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

Facebook sender_action support ("is typing" indicator) #392

Closed

Conversation

luisfarzati
Copy link
Contributor

Implements sender_action parameter from the API as in: https://developers.facebook.com/docs/messenger-platform/send-api-reference#payload

Also adds convenience method replyWithTyping, following same convention than in Slackbot.

 +bot.startTyping(message, function () {
 +  // do something here, the "is typing" animation is visible
 +});
 +
 +bot.stopTyping(message, function () {
 +  // do something here, the "is typing" animation is not visible
 +});
 +
 +bot.replyWithTyping(message, 'Hello there, my friend!');
 +```

@benbrown
Copy link
Contributor

benbrown commented Oct 7, 2016

This is getting merged into 0.4! Thank you!

@benbrown benbrown closed this Oct 7, 2016
@luisfarzati luisfarzati deleted the facebook-sender-action-support branch October 7, 2016 22:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants