send_document
Send a file or document to a Telegram chat using a URL, local path, or file ID. Optionally add a caption and disable notification.
Instructions
Send a file/document to a Telegram chat.
Args:
document: An http(s) URL, a local file path, or a Telegram file_id.
chat_id: Target chat; omit to use the server's default chat.
caption: Optional caption shown with the document (max 1024 characters).
parse_mode: Optional caption formatting (see send_message).
disable_notification: Send silently, without a notification sound.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| caption | No | ||
| chat_id | No | ||
| document | Yes | ||
| parse_mode | No | ||
| disable_notification | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |