telegram-download-media
Download media from a Telegram message to a local file using chat and message IDs and a provided absolute path.
Instructions
Download media from a Telegram message to a local file
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": {
"chatId": "<chatId>",
"messageId": "<messageId>",
"downloadPath": "<downloadPath>"
},
"name": "telegram-download-media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chatId | Yes | Chat ID or username | |
| messageId | Yes | Message ID containing media | |
| downloadPath | Yes | Absolute path to save the file, in Downloads, Desktop, Documents or a temp folder. An existing file is kept; a numbered name is used instead |