Charles Stein Charles Stein - 2 years ago 132
Node.js Question

Send quick reply without using watterfall in Microsoft Bot Framework

I am using microsoft bot framework and I want to send quick replies, but I dont want to use watterfall, I want it to be handled by luis, how can I set the quick replies for a message using node sdk?

Answer Source

Here it is how it is done, you have to add it to source event, I found it here

 let message = new builder.Message(session)
                facebook: {
                    "quick_replies": [
                            "content_type": "text",
                            "title": "Weather",
                            "payload": "Weather"
                            "content_type": "text",
                            "title": "Forecast",
                            "payload": "Forecast"
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download