Messages

Download Telegram message media

Streams the message media as binary data. Supports a single HTTP byte range for resumable and chunked downloads.

get/v1/chats/{chat_id}/messages/{message_id}/media

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/{message_id}/media
  • Auth: API key in header X-API-Key

Path parameters

chat_idstring required

Canonical Telegram chat identifier.

Example:-1000001234567
message_idinteger required

Telegram message identifier within the chat.

Example:123456

Query parameters

account_idstring

Connected account id used to download the media.

Example:acct_demo_123

Headers

Rangestring

Optional single HTTP byte range, for example bytes=0-5242879.

Example:bytes=0-5242879

Response

Complete media payload

Changes

No recorded changes to this operation across all 1 revision of this API.