download_chat_media
Download photos and documents in bulk from a Telegram chat by specifying chat ID, media type, and download limit. Choose an output directory to save files locally.
Instructions
Download media files (photos, documents) from a chat in bulk
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"chat_id": "<chat_id>"
},
"name": "download_chat_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max files to download (max 200) | |
| chat_id | Yes | Chat to download from | |
| media_type | No | Type of media to download | photo |
| output_dir | No | Output directory (defaults to ~/.telegram-mcp/downloads/) |