chat_idinteger | string · requiredget_media_download_url
Create a one-time HTTPS link for a remote Codex or another device. Media bytes stream directly from Telegram to the downloader and are never stored on the VPS. The link expires after 1-30 minutes and is consumed only after a complete GET; HEAD requests and interrupted downloads do not consume it. Polls, contacts, and locations are structured data and have no file URL.
Parameters
message_idinteger · requiredexpires_in_secondsinteger · default 900accountstring · default null