Send Telegram Photo
telegram_send_photoSend an image to a Telegram chat by providing a publicly accessible HTTPS URL and an optional caption.
Instructions
Send an image to a Telegram chat by URL, with an optional caption.
Args:
chat_id (string | number): Target chat
photo (string): Public HTTPS URL of the image. Telegram fetches it server-side.
caption (string, optional): Caption text, up to 1024 characters
Returns: Confirmation with the new message_id.
Error Handling:
"wrong file identifier/HTTP URL specified" -> the URL is not publicly reachable or not a supported image format (jpg, png, gif, webp).
"IMAGE_PROCESS_FAILED" -> the file is too large (Telegram limit: 10 MB for photos sent by URL).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| photo | Yes | Publicly accessible HTTPS URL of the image to send (e.g. 'https://example.com/chart.png') | |
| caption | No | Optional caption shown below the media, up to 1024 characters | |
| chat_id | Yes | Target chat. Numeric chat ID (e.g. 123456789) or '@channel_username' for public channels. |