Rasa Video Responses

I want to have an video as a chatbot response for which I am following the link : https://github.com/JiteshGaikwad/Chatbot-Widget/blob/main/docs/responses.md responses: utter_greet:

  • text: “Check this video” attachment: { “type”:“video”, “payload”:{ “src”: “YouTube” } }

but it is throwing an error " Key ‘attachment’ was not defined. Path: ‘/responses/utter_How_is_hydrogen_separated_from_water/0’"

Rasa Version : 2.1.2 Rasa SDK Version : 2.8.5 Rasa X Version : None Python Version : 3.8.0 Operating System : Windows-10-10.0.19041-SP0 Python Path : D:\Chatbot\rasa_chatbot_27-05\rasabot\Scripts\python.exe