Download media from a message
download_mediaDownloads media files attached to a Telegram message and returns the absolute file path where they are saved.
Instructions
Download the media attached to a message. Files land in /root/.telegram-agent/downloads (override with MCP_TELEGRAM_DOWNLOADS env). Returns the absolute path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| peer | Yes | ||
| accountId | No | ||
| messageId | Yes |