If you want to include images or videos in your chat, you would in most cases use an output parameter to include a url to an image.
And then the application used to display the responses from the bot take that url to fetch and display the image. Here’s an example how this is done in the Teneo Web Chat: https://developers.teneo.ai/resource/channels/teneo-web-chat#message-types_image