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

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants