MadelineProtoDocs/old_docs/API_docs_v18/constructors/inputMediaUploadedThumbDocument.md

1.1 KiB

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

Constructor: inputMediaUploadedThumbDocument

Back to constructors index

Media uploaded thumb document

Attributes:

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

Type: InputMedia

Example:

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

Or, if you're into Lua:

inputMediaUploadedThumbDocument={_='inputMediaUploadedThumbDocument', file=InputFile, thumb=InputFile, file_name='string', mime_type='string'}