Is it possible to send an attachment (pdf or image) in Facebook Messenger through dispatcher on actions?
thanks
Is it possible to send an attachment (pdf or image) in Facebook Messenger through dispatcher on actions?
thanks
According to meta, yes:
https://developers.facebook.com/docs/messenger-platform/reference/attachment-upload-api/
You need to read the fbmessenger project:
https://github.com/rehabstudio/fbmessenger/blob/master/fbmessenger/attachments.py
And the rasa facebook connector to see how to do it.