Return image or video from rasa-webchat?

Hello everyone,

can anyone help me in order to return an image or a video from custom action in Python to webchat in browser?

Here is the link to the repository —> GitHub - mrbot-ai/rasa-webchat: A chat widget easy to connect to chatbot platforms such as Rasa Core

I have tried all the formats shown in the, also I tried return_message, return_attachment, return_custom_message but it returns it only as a string or it returns nothing.

Any example also will be very helpful, Thank you very much

Hi, you need to update the message format which is expected at your webchat frontend