> For the complete documentation index, see [llms.txt](https://help.pickyassist.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.pickyassist.com/general-guidelines/best-practices-for-media-handling.md).

# Best Practices for Media Handling

This guide is all about sending and receiving media files when using Picky Assist different channels, if you are considering sending a large number of media files then please make sure that you have implemented the best practice mentioned in this document for getting the optimum speed of messages

## Compress your outgoing media files&#x20;

Always compress your outgoing media files to the best ratio so that they can transmit fastly and enhance the message processing speed&#x20;

{% hint style="info" %}
The best way to compress media files is to send that media file manually via WhatsApp, then download the media again, then use that media file to send to a large number of customers \
\
**Larger your video files more delay in delivering the messages**&#x20;
{% endhint %}

### Recommended Media Size&#x20;

We highly recommend keeping the media size as below to get the best sending speed

| Media Type      | Recommeded Size (WhatsApp Web Automation) | Maximum Size (WhatsApp Official & Cloud API) |
| --------------- | ----------------------------------------- | -------------------------------------------- |
| Images          | 256 KB                                    | 5 MB                                         |
| Videos          | 1 MB                                      | 16 MB                                        |
| PDF & Documents | 2 MB                                      | 25 MB                                        |

{% hint style="danger" %}
If you are using WhatsApp Web Automation then we highly recommend sending a video file as a youtube link, also send one video message in a minute in order to avoid the automation server crash, also you need to keep clearing your open chats as loading recent chats having video/images will take longer time to open the WhatsApp Web Automation and as a result, the server may crash frequently and affects the delivery of messages.\
\
If your nature of business involves sending a high number of media files then we recommend considering WhatsApp Cloud API or our Fully Managed WhatsApp Business Solutions&#x20;
{% endhint %}


---

# 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://help.pickyassist.com/general-guidelines/best-practices-for-media-handling.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.
