Actions101
- Bot Actions
- Chat Actions
- Get Chat
- Get Chat Administrators
- Get Chat Member Count
- Get Chat Member
- Ban Chat Member
- Unban Chat Member
- Restrict Chat Member
- Promote Chat Member
- Set Chat Administrator Custom Title
- Set Chat Permissions
- Export Chat Invite Link
- Create Chat Invite Link
- Edit Chat Invite Link
- Revoke Chat Invite Link
- Approve Chat Join Request
- Decline Chat Join Request
- Set Chat Photo
- Delete Chat Photo
- Set Chat Title
- Set Chat Description
- Pin Chat Message
- Unpin Chat Message
- Unpin All Chat Messages
- Leave Chat
- Set Chat Menu Button
- Get Chat Menu Button
- Set Chat Sticker Set
- Delete Chat Sticker Set
- File Actions
- Forum Actions
- Game Actions
- Inline Actions
- Message Actions
- Send Message
- Forward Message
- Copy Message
- Send Photo
- Send Audio
- Send Document
- Send Video
- Send Animation
- Send Voice
- Send Video Note
- Send Media Group
- Send Location
- Send Venue
- Send Contact
- Send Poll
- Send Dice
- Send Chat Action
- Edit Message Text
- Edit Message Caption
- Edit Message Media
- Edit Message Reply Markup
- Edit Message Live Location
- Stop Message Live Location
- Stop Poll
- Delete Message
- Delete Messages
- Payment Actions
- Sticker Actions
- Update Actions
- Webhook Actions
Message → Send Document
AI-generatedSummary
Send a document file to a specific Telegram chat by specifying the target chat ID and the document source as a file ID, URL, or binary data, optionally including a caption, parse mode, reply markup, and additional message options.
Inputs
- Chat ID (required) — Unique identifier for the target chat or username (@channelusername) to which the document will be sent.
- File Source (required) — Method to provide the document file: File ID (existing Telegram file), URL, or binary data from workflow input.
- File ID (required) — File ID of the document to send when File Source is 'File ID'.
- File URL (required) — URL of the document to send when File Source is 'URL'.
- Binary Property (required) — Name of the binary property containing the document when File Source is 'Binary Data'.
- Caption — Optional caption text for the document.
- Parse Mode — Formatting mode for the caption text, such as None, Markdown, MarkdownV2, or HTML.
- Reply Markup (JSON) — Optional inline keyboard, reply keyboard, or other reply markup expressed as JSON.
- Additional Fields — Optional settings including disable_notification, protect_content, reply_to_message_id, message_thread_id, disable_web_page_preview, and allow_sending_without_reply to control message behavior and appearance.
Output shape
a single record representing the sent message's API response
Returns the Telegram API response for the sent document message, including message details. The response is wrapped in one JSON object per execution item. Errors may be returned if the API call fails.