download_media
Download a Telegram message attachment to a local file and get its saved path. Uses the default download directory unless another is specified.
Instructions
Скачать вложение сообщения в локальный файл. Возвращает путь. По умолчанию — в TELEGRAM_MCP_DOWNLOAD_DIR.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | Yes | ||
| out_dir | No | ||
| message_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||