Closed seanbetts closed 5 years ago
I've noticed that you opened the same issue as a Stack Overflow question here. The Microsoft Bot Framework team prefers that how to questions be submitted on Stack Overflow. The official Bot Framework Github repos are the preferred platform for submitting bug fixes and feature requests. I'm going to close this issue so the support personnel and community-at-large can better assist you though the Stack Overflow query.
Thanks @jwiley84 - I didn't know whether this was a support request or a new feature request as the support for QnA Maker follow-up prompts is experimental.
Is your feature request related to a problem? Please describe. I am trying to pass QnA Maker follow-up prompts through to Facebook Messenger's Quick Replies.
Describe the solution you'd like To do this I'd like to pull through the prompts array and insert them into the code below, replacing "Prompt 1" with prompts.displayText located at prompts.displayOrder[0] then "Prompt 2" with prompts.displayText located at prompts.displayOrder[1] and so on
Describe alternatives you've considered I'm not sure of the correct syntax for doing the above and have tried multiple variations:
Additional context Here is the full code for my onMessage code segment so you can see how I'm constructing the logic to detect Facebook and to detect whether the QnA answer has a follow-up prompt. This works perfectly in WebChat, I'm just struggling to get the prompts to appear in Facebook Messenger as Quick Replies:
[enhancement]