Actions2
Send Photo
AI-generatedSummary
Send a photo to a specified Telegram chat by providing the chat ID and a photo URL or existing Telegram file ID, optionally including a caption text and additional custom JSON parameters.
Inputs
- Chat ID (required) — The unique identifier for the target Telegram chat where the photo will be sent.
- Photo URL or File ID (required) — A public URL or an existing Telegram file_id representing the photo to send.
- Text — Optional caption text to include with the photo.
- Custom JSON — Optional custom JSON object to extend the request body with additional Telegram API parameters, such as reply_markup for inline keyboards.
Output shape
a list of JSON objects
Each output item contains the full request body sent and the response returned by the Telegram API for each input item processed. Errors related to invalid custom JSON will cause execution to fail.