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
video_coverMessageMedia, Message, Update or InputPhotoOptional
video_timestampintOptional

Type: InputMedia

Example:

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