Respond with a video on facebook messenger using the Domain.yml file

utter_preventive:

Read about this solution in one of the forums, didn’t work for me.

This is what I am getting as output BotImg

Hi @karman1102, looks like at the moment, the Facebook output channel doesn’t have a send_attachment method, which is what is causing the generic Attachment: Link format (this is the default output if a channel does not implement that output type)

However it looks like you should be able to send video attachments from URL: Messaging - Messenger Platform - Documentation - Facebook for Developers

You can use any facebook native attachments by using custom. So I believe in this case (though i’ve not tested it) it would look like this:

utter_preventative:
  - custom:
      text: "Stay aware of the latest information on the COVID-19 outbreak"
      attachment: 
        type: image
        payload: 
          url: "url"
          is_reusable: true

I understand, let me try this out and get back to you real quick. Thanks for the prompt reply :slight_smile:

1 Like