Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants