telegram_send_document
Send a local file or public URL as a document to a Telegram chat, with optional caption and formatting options.
Instructions
Send a general file or document (PDF, ZIP, source code, text file, etc.).
:param document: Local file path on disk (e.g. '/path/to/report.pdf') OR a public HTTP/HTTPS URL. :param caption: Optional document caption (0-1024 characters). :param chat_id: Target chat identifier (or @channelusername). :param parse_mode: Formatting for caption ('HTML', 'MarkdownV2', etc.). :param disable_notification: Send silently. :return: JSON formatted Telegram Message object.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| caption | No | ||
| chat_id | No | ||
| document | Yes | ||
| parse_mode | No | HTML | |
| disable_notification | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |