Telegram Queries
Download Telegram Media
Download media files from a Telegram message
GET
Download media (images, videos) from a Telegram message. The response is the raw binary file with the correct MIME type in the
Content-Type header. Responses are cached for 24 hours.
This endpoint does not require an API key but is heavily rate-limited to 2 requests per 60 seconds.
Path Parameters
The Telegram channel ID.
The message ID containing the media.
Response
Returns the binary media file with the appropriateContent-Type header (e.g., image/jpeg, video/mp4).
Error Response
Error message when the media is not found. Returns status
404.