Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Facebook quick replies are improperly pruned from BotkitConversations #1664

Closed
benbrown opened this issue May 17, 2019 · 1 comment · Fixed by #1733
Closed

Facebook quick replies are improperly pruned from BotkitConversations #1664

benbrown opened this issue May 17, 2019 · 1 comment · Fixed by #1733

Comments

@benbrown
Copy link
Contributor

When using botbuilder-adapter-facebook with Botkit 4, the quick_replies field on outgoing messages does not work as expected when used with BotkitConversation

This is caused by an improper mapping of those fields into the "SuggestedResponses" field.

This may also apply to the WebAdapter which also uses quick_replies.

This only pertains to using BotkitConversation, it works fine using bot.reply

A temporary workaround: put quick_replies field inside channelData field:

convo.ask({
   text: ['What is your favorite color'],
   channelData: {
     quick_replies: [
        {...}   
     ] 
   }
}, [], 'key');
@PaulContremoulin
Copy link

Hi !
Same with other Facebook Message Templates (generic, button, etc.). Doesn't work with ask() but work fine with reply(). 😄

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

Successfully merging a pull request may close this issue.

2 participants