tg_send_photo
Send photos through a Telegram bot by providing a photo URL, optional caption, and chat ID to deliver visual content directly to specified recipients.
Instructions
Send photos via telegram bot
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| caption | No | Photo caption, 0-1024 characters after entities parsing | |
| chat_id | No | Telegram chat id, Default to get from environment variables | |
| parse_mode | No | Mode for parsing entities in the caption. [text/MarkdownV2] | |
| photo | Yes | Photo URL |
Input Schema (JSON Schema)
{
"properties": {
"caption": {
"default": "",
"description": "Photo caption, 0-1024 characters after entities parsing",
"type": "string"
},
"chat_id": {
"default": "",
"description": "Telegram chat id, Default to get from environment variables",
"type": "string"
},
"parse_mode": {
"default": "",
"description": "Mode for parsing entities in the caption. [text/MarkdownV2]",
"type": "string"
},
"photo": {
"description": "Photo URL",
"type": "string"
}
},
"required": [
"photo"
],
"type": "object"
}