> For the complete documentation index, see [llms.txt](https://docs.chat.quickwork.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.chat.quickwork.co/message-templates/media-template.md).

# Media template

Conversation Management supports various media sharing templates to make the conversation interactive. The media template allows you to send images, videos, and audio as a structured message in the middle of the conversation.

## Images

Images, in the format .jpg, .png, .bmp, etc., with an optional title express information more precisely. When you tap the image, the image prompts out in a lightbox view, which means it opens up as a larger picture dimming out the rest of the chat window and occupying the efficient screen dimension to display:

![Figure 1: Image template](/files/-M355GepIW3UX_3wz76O)

## Video

Conversation Management supports video streaming with extensions such as .mp4, .wmv, .mpg, etc. The video can be viewed, shared with others, and downloaded locally from the chat window as well:

![Figure 2: Video template](/files/-M355PWNBJAY3AQHAJB0)

## Audio

Audio template lets you convey information through audio clips or podcasts that you have recorded for better customer engagement. Audio formats such as  .mp3, .wav, etc. are accepted:

![Figure 3: Audio template](/files/-M355Tj65y15POF2jg4w)

## iframe

iframe is an HTML element using which you can send videos that are deployed on a web portal and publicly available for the viewers i.e., videos that are embedded as third-party property and cannot be downloaded. For example, videos uploaded on YouTube and Dailymotion.\
The `<embed>`  section contains the iframe code with the embedded link, e.g., <https://www.youtube.com/embed/zing4uQ3dR4?start=>, 2 that proves useful to share the video in the chat window.

### **Document**

The document template is used to share all other file types except for the ones mentioned above. For example, PDFs, Word files, Excel sheets, Powerpoint presentations, ZIP files, or files in any other formats can be shared with a user/visitor using this template:

![Figure 4:Document template](/files/-MV_CYVQr6HJt5rNnFpG)

### Email

The email template helps get the email id of the user/visitor. The advantage of this template is that it provides a special input field for the user to enter the email. Once the user enters the email, the response can be submitted by either hitting the enter key or clicking the arrow button right next to the input field. As soon as the user submits the response, the email ID will then reflect in the Personal Information section of the conversation on the Conversation Management dashboard. Also, the name of the user/visitor is set automatically as part of the email ID string present before the @ symbol. Once submitted, the input field in the message is replaced by the entered email ID in italics font-style:

![](/files/-MV_DEduYRIAcUFNwIPG)

![Figure 5: Email templates](/files/-MV_DHn3NvZN9m69a2sJ)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.chat.quickwork.co/message-templates/media-template.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
