botkit-starter-web
botkit-starter-web copied to clipboard
Quick replies to reply with 'Title' instead of 'Payload'
I figured that 'payload' can be used for thread matching. Is there a way to do it in this web chatbot?
I checked the received middleware
and the quick reply title is not there.
You have to change that in front-end part. See public folder.
@lsshawn public/client.js Make this change:
el.onclick = function() {
that.quickReply(reply.text); // changed from reply.payload
}
It should work.