hi ,
I have been trying to send videos from rasa for the user to play on my telegram bot but got no success. I am adding the utter like this in domain file like below
utter_video_question:
- attachment:
autoplay: true
payload:
src: /datafiles/sample_video.mp4
type: video
and response on telegram end is
Attachment: {‘autoplay’: True, ‘payload’: {‘src’: ‘/data1/aditya/r-bot/datafiles/sample_video.mp4’}, ‘type’: ‘video’} I am not sure what am I doing wrong. The same goes while trying same in action file,
msg={ "type":"video","payload":{"src": "/data1/aditya/r-bot/datafiles/sample_video.mp4" }}
dispatcher.utter_message(text="Hello World!",attachment=msg)
Can someone please help me with this? I see in the API code that RASA provides this functionality for audio and videos.
And how can we record and receive it from the user for further processing? Is it even possible via rasa on telegram? I am currently looking for phone-based solution not web-based like RASA WebChat.