> For the complete documentation index, see [llms.txt](https://help.watbot.ru/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.watbot.ru/chat-boty/bloki/nastroiki-http-blokov-iz-video/otpravka-faila-senddocument.md).

# Отправка файла (sendDocument)

<figure><img src="https://3336945552-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LqeuWXwuMesVXyaFvjP%2Fuploads%2F9g2RWa15YrkWQYp6Vghs%2F%D0%A1%D0%BA%D1%80%D0%B8%D0%BD%D1%88%D0%BE%D1%82-14-02-2024%2012_04_15.jpg?alt=media&amp;token=14377a23-d039-4d9a-b9f1-baca7081d3cb" alt=""><figcaption></figcaption></figure>

**Создайте блок** **HTTP-запрос с запросом** [**https://api.telegram.org/botТОКЕНБОТА/sendDocument**](https://api.telegram.org/botТОКЕНБОТА/sendDocument)

**Настройки для блока:**

Метод POST

1. Токен бота
2. chat\_id = {{ telegram\_id }}
3. document = ссылка на документ из открытого источника
