MadelineProtoDocs/old_docs/API_docs_v66/constructors/inputMediaDocumentExternal.md

892 B

title description image
inputMediaDocumentExternal Document that will be downloaded by the telegram servers 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
url string Yes URL of the document
caption string Yes Caption

Type: InputMedia

Example:

$inputMediaDocumentExternal = ['_' => 'inputMediaDocumentExternal', 'url' => 'string', 'caption' => 'string'];

Or, if you're into Lua:

inputMediaDocumentExternal={_='inputMediaDocumentExternal', url='string', caption='string'}