send_document
Send a document to a Telegram chat using a file URL or file ID. Optionally add a caption with Markdown or HTML formatting.
Instructions
Send a document/file to a chat.
Args: document: Document URL or file_id chat_id: Chat ID or @channel_username (uses TELEGRAM_CHAT_ID if omitted) caption: Document caption (optional) parse_mode: "Markdown", "MarkdownV2", or "HTML" for caption (optional)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document | Yes | ||
| chat_id | No | ||
| caption | No | ||
| parse_mode | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |