Facebook Quick_reply doesn't work

Hi all! I’m trying to send quick replies button in the answer from my bot. Also I want to add persistent menu from facebook. Neither Quick reply nor persistent menu is supported by the Rasa_sdk in python . How can I manage to integrate it in the stack ? Any idea , I was thinking about making custom actions where I will do those replies but the problem is that I was calling utter_template and as persistent menu is not implemented nothing is done!

Thanks for your reply!

Hey @Rogers_ntr, have you tried using utter_custom_json() to send custom json payloads to the output channel? You can also do this via the custom: key in the templates.

Problem Solved

Hi @Rogers_ntr, how did you solve your problem? So that other people can find the answer if they run into the same issue

Ok @erohmensing Actually, I am the one who open an issue about Facebook Quick reply on github. It was a bug and a PR has been submitted to fix it. The main problem was that Rasa was not converting correctly object supported by the Facebook client that Rasa use in order to post to Facebook Messenger API.

How did you specify the quick reply (with its options) in the domain file?

@Paul3MK Here is an example
utter_language:
  - quick_replies:
    - content_type: text
      payload: French
      title: "French" 
    - content_type: text
      payload: English
      title: "English"

Thanks. I had a problem, where an error was showing up; turns out I hadn’t updated to Rasa 1.1.4. My implementation is like so:

utter_language:

- text: "Choose"
  quick_replies:
  - content_type: text
    payload: "french"
    title: "French"
  - content_type: text
    payload: "english"
    title: "English"

I somehow forgot to give feedback. Sorry :sweat_smile:

Hey ! It doesn’t work with RASA 1.6.0 too :upside_down_face:

  utter_ask_ready:
  - text: Are you ready ?
    quick_replies:
    - content_type: text
      payload: affirm
      title: I'm ready
    - content_type: text
      payload: deny
      title: No... wait !

Thanks for feedbacks :grinning: