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 Photo
AI-generatedSummary
Sends a photo to a Telegram chat or channel using a Telegram file ID, external URL, or binary file data.
Inputs
- chat_id (required) — Unique identifier for the target chat or channel username (e.g., @channelusername).
- fileSource — Select how the photo file is provided: via 'fileId', 'url', or 'binary'.
- fileId (required) — Telegram File ID of an existing photo to send. Required when File Source is set to 'File ID'.
- fileUrl (required) — URL of the image file to send. Required when File Source is set to 'URL'.
- binaryPropertyName (required) — Name of the incoming binary property containing the image file. Required when File Source is set to 'Binary Data'.
- caption — Text caption to accompany the photo.
- parse_mode — Text formatting syntax used for the caption: None, Markdown, MarkdownV2, or HTML.
- reply_markup — JSON object defining inline keyboards, reply keyboards, or custom reply markup.
- additionalFields — Optional settings including reply_to_message_id, message_thread_id, disable_notification, and protect_content.
Output shape
a single record
Returns the Telegram Message object representing the sent photo message, unwrapped from the API response payload.
Examples
Example 1: Send an image from incoming n8n binary data with a caption
Set Chat ID to the target chat, File Source to 'Binary Data', Binary Property to 'data', and enter the caption text.
Example 2: Send a photo using an existing Telegram File ID
Set Chat ID to the target chat, File Source to 'File ID', and supply the Telegram File ID string.
Example 3: Send an image URL with Markdown-formatted caption and inline keyboard
Set Chat ID to '@mychannel', File Source to 'URL', File URL to 'https://example.com/photo.jpg', Parse Mode to 'Markdown', and provide Inline Keyboard JSON in Reply Markup.