Send Rich Media (Image / Video / Audio / Voice / Document)
View All Telegram Messaging API APIs →Upload and send a media message from a connected session. Send a JSON body with the recipient as to, the media type as type (image, video, audio, voice, or document), and the base64-encoded file content as data. fileName sets the document name, caption adds a caption, and mimeType overrides the inferred type. to accepts the same peer formats as Send a Text Message. Returns a sent confirmation.
API Features
Five media types Send images, video, audio, voice notes, and documents from one endpoint
Base64 upload POST the file as base64 in the request — no separate hosting step required
Captions & metadata Attach a caption, set a file name for documents, and control the mime type
Live API Demo
🔒 Sign in to try it live
Log in to call this API with your own API key. New accounts get 100 free credits — no card required.
Log in / Sign upNo active API key found. Create one in your Dashboard, then reload this page. Dashboard →
POST
/api/project/telegram-messaging/send-media API Response (JSON)
{} Query Result
Need Help?
If you encounter API issues or need other API requirements, please contact us.
Use Cases
- Send invoices, receipts, or PDF statements as documents
- Push product images or promo videos in a campaign
- Deliver voice-note alerts or audio messages from a bot