Actions40
- Chat Actions
- Contact Actions
- Custom Request Actions
- File Actions
- Group Actions
- Login Actions
- Message Actions
- User Actions
Message → Send Message with Photo
AI-generatedSummary
Send a photo message to a specific Telegram chat, optionally including a caption and replying within a message thread or to a particular message.
Inputs
- Chat ID (required) — ID of the Telegram chat where the photo will be sent.
- Message Photo (required) — Local file path to the photo to be sent.
- Photo Caption — Optional caption text for the photo.
- Reply to threadID — Optional message thread identifier to send the photo within a specific thread.
- Reply to messageId — Optional message ID to which this photo message will be a reply.
Output shape
a single record
The node returns the Telegram API response of the sent photo message object. If an error occurs, it will include error details.
Examples
Example 1: Send a photo with a caption in a specified chat
Provide the chat ID, local file path to the photo, and optionally a caption. Use reply options if replying in a thread or to a specific message.