Messages
Create upload tickets for Telegram media
Reserves one or more temporary media upload slots for a chat and connected account.
post/v1/chats/{chat_id}/messages/media/uploads
Request
- Base URL: https://api.entergram.com (the document declares no server; this is the origin it was published from)
- URL: https://api.entergram.com/v1/chats/{chat_id}/messages/media/uploads
- Auth: API key in header X-API-Key
Path parameters
chat_idstring required
Canonical Telegram chat identifier.
Example:-1000001234567
Request body
Example request
{
"accountId": "acct_demo_123",
"files": [
{
"durationSeconds": 12.5,
"fileName": "invoice.pdf",
"height": 1080,
"mediaType": "document",
"mimeType": "application/pdf",
"sizeBytes": 20480,
"width": 1920
}
]
}Response
Created
Changes
No recorded changes to this operation across all 1 revision of this API.