Christoph Rumpel, lead developer on the BotMan chatbot project, has a new tutorial posted to his site showing how to use Facebook Quick Replies with a BotMan instance.
I guess you already used quick replies for text buttons, right? But did you know that you can ask the user for email, phone number, and current location? It is time to give you a refresh of Facebook Messenger quick replies and how they work in the BotMan chatbot framework.
The post includes a video of the process of integrating these quick replies but also steps through all of the code required. Adding the replies is as easy as using the
Button functionality included with the package and adding listeners. The tutorial also shows how to use them in conversations (rather than just one-off calls). It also provides a more "real world" example of asking the user for location, phone number and email with quick replies.