Download Message Media

View All Telegram Messaging API APIs →

Download the media (photo or document) attached to a specific message and return it base64-encoded with its MIME type. Provide the sessionId, the peer, and the numeric messageId from the chat history response.

API Features

Direct download Fetches the attachment so you receive usable file bytes
Base64 payload Returns the media as base64 for easy storage, forwarding, or re-serving
MIME included The response carries the file's MIME type alongside the bytes

Live API Demo

GET /api/project/telegram-messaging/download-media

API Response (JSON)

{}
📢
Need Help?
If you encounter API issues or need other API requirements, please contact us.
Contact Us

Use Cases

View Subscription Plans →