Question
3
Replies
168
Views
Evonsys
Posted: December 5, 2019
Last activity: January 27, 2020
How to send Audio/video file as response back facebook chatbot
We have a requirement, where an audio file has to be sent to facebook chatbot user as a response to a command.As of now in facebook channel configuration, we can select response type as Text,Menu,Custom,cancel,restart,authenticate , but there is no response type as file or something.
It would be helpful to know any approach on how to achieve it
***Edited by Moderator: Lochan to update platform capability tags***
Manoj, you can play with 'Custom' command type and use FBM APIs to construct a file upload command.
https://community1.pega.com/community/pega-support/question/how-create-custom-conversational-channel-action
https://developers.facebook.com/docs/messenger-platform/reference/attachment-upload-api/