TelePilot2 icon

TelePilot2

Your Personal Telegram CoPilot

Message → Send Message with Photo

AI-generated

Summary

Send a photo message to a specified Telegram chat with optional caption, reply threading, and message reply ID.

Inputs

  • Chat ID (required) — The identifier of the chat where the photo message will be sent.
  • Message Photo (required) — Local file path of the photo to be sent.
  • Photo Caption — Text caption for the photo message.
  • Reply to threadID — Optional thread identifier within the chat to send the message.
  • Reply to messageId — Optional message ID to reply directly to a specific message.

Output shape

a single message record

Returns the result of the sendMessage API call containing information about the sent photo message.

Examples

Example 1: Send photo with caption in a chat

Specify the chat ID, provide a local file path to the photo, and optionally add a caption and thread or reply message IDs.

Links

Discussion