MadelineProtoDocs/old_docs/API_docs_v18/constructors/inputMediaUploadedDocument.md

952 B

title description image
inputMediaUploadedDocument Media uploaded document https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: inputMediaUploadedDocument

Back to constructors index

Media uploaded document

Attributes:

Name Type Required Description
file File path or InputFile Yes File
file_name string Yes File name
mime_type string Optional Mime type

Type: InputMedia

Example:

$inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'file_name' => 'string', 'mime_type' => 'string'];

Or, if you're into Lua:

inputMediaUploadedDocument={_='inputMediaUploadedDocument', file=InputFile, file_name='string', mime_type='string'}