Send Telegram Document
send_telegram_documentSend a document or file to a Telegram chat via bot, using local Windows paths or HTTP URLs. Supports captions, custom filenames, and formatting.
Instructions
Send a document/file via Telegram bot (supports local Windows paths and HTTP URLs)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chatId | No | Optional override for target Telegram Chat ID | |
| caption | No | Document caption with formatting support | |
| document | Yes | Local file path (e.g. C:/path/to/file.txt) or HTTP(S) URL | |
| filename | No | Custom filename for the document | |
| parseMode | No | Caption formatting mode (default: HTML) | HTML |