Link Search Menu Expand Document

Constructor: inputMediaDocumentExternal

Back to constructors index

Document that will be downloaded by the telegram servers

Attributes:

NameTypeRequiredDescription
spoilerBoolOptionalWhether this media should be hidden behind a spoiler warning
urlstringYesURL of the document
ttl_secondsintOptionalSelf-destruct time to live of document

Type: InputMedia

Example:

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