Facebook quick_replies not showing on rasa 2.x

Hi Everybody.

We have recently upgraded our Assistant version to rasa==2.7.1 and we dont seem to be able to get any of the quick replies on fb.

If we are to send quick_replies via customs actions. It works as expected, however, if we define them on the domain.yaml file, they just dont show up.

Our domain.yaml file looks more or lesse like this

Domain.yaml
  utter_usefulness_checker:
  - buttons:
    - payload: /confirm
      title: Sim
    - payload: /deny
      title: Não
    text: Esta resposta foi útil?
  - channel: facebook
    custom:
      quick_replies:
      - content_type: text
        payload: /confirm
        title: Sim
      - content_type: text
        payload: /deny
        title: Não
    text: Esta resposta foi útil?

This used to work our rasa version < 2.x

And the same configuration would work for rasa versions < 2.x

Could anyone kindly help with that ? :slightly_smiling_face:

TIA,

Eden

I removed the custom: tag right after the - channel: facebook and it seems to work just fine

  utter_usefulness_checker:
  - buttons:
    - payload: /confirm
      title: Sim
    - payload: /deny
      title: Não
    text: Esta resposta foi útil?
  - channel: facebook
    quick_replies:
    - content_type: text
      payload: /confirm
      title: Sim
    - content_type: text
      payload: /deny
      title: Não
    text: Esta resposta foi útil?
1 Like