Send a photo or file to Telegram
telegram_send_mediaSend a photo, document, video, audio or voice message to a real person or group from the user's Telegram. Irreversible and immediately visible — confirm the recipient and what is being sent before calling.
Give exactly one source: • from_chat_id + from_message_id — forward a file that is already in the archive. Costs no upload and has no size limit, because Telegram already holds the file. Works only for messages the collector saw live; imported history has no file id. • url — a public http(s) link that Telegram fetches itself.
In a private chat this is sent as the user. In a group there is no business connection, so it is sent as the bot — say so if that matters.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Public http(s) link for Telegram to fetch, instead of from_*. | |
| caption | No | Text under the media. Markdown is converted. | |
| chat_id | Yes | Where to send it, from telegram_find_chat. | |
| as_document | No | Send as a file rather than a photo/video, keeping full quality. | |
| from_chat_id | No | Chat holding the file to resend. | |
| from_message_id | No | message_id of the message holding the file. | |
| message_thread_id | No | Forum topic to post into, in a group that has them. | |
| reply_to_message_id | No | Quote this message_id. |