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

Quick replies to reply with 'Title' instead of 'Payload' #39

Open
lsshawn opened this issue May 30, 2018 · 2 comments
Open

Quick replies to reply with 'Title' instead of 'Payload' #39

lsshawn opened this issue May 30, 2018 · 2 comments

Comments

@lsshawn
Copy link

lsshawn commented May 30, 2018

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.

@adantoscano
Copy link

You have to change that in front-end part. See public folder.

@samar14641
Copy link

samar14641 commented Jun 24, 2019

@lsshawn public/client.js
Make this change:

el.onclick = function() {
                  that.quickReply(reply.text);  // changed from reply.payload
                }

It should work.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants