MadelineProtoDocs/docs/API_docs/constructors/inputMediaDocumentExternal.md
2024-05-01 14:53:46 +02:00

999 B

title description nav_exclude image
inputMediaDocumentExternal Document that will be downloaded by the telegram servers true https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: inputMediaDocumentExternal

Back to constructors index

Document that will be downloaded by the telegram servers

Attributes:

Name Type Required Description
spoiler Bool Optional Whether this media should be hidden behind a spoiler warning
url string Yes URL of the document
ttl_seconds int Optional Self-destruct time to live of document

Type: InputMedia

Example:

$inputMediaDocumentExternal = ['_' => 'inputMediaDocumentExternal', 'spoiler' => Bool, 'url' => 'string', 'ttl_seconds' => int];