MadelineProtoDocs/docs/API_docs/constructors/upload_webFile.md

1006 B

title description image
upload.webFile Web file https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: upload.webFile

Back to constructors index

Web file

Attributes:

Name Type Required Description
size int Yes Size
mime_type string Yes Mime type
file_type storage_FileType Yes File type
mtime int Yes Mtime
bytes bytes Yes Bytes

Type: upload_WebFile

Example:

$upload_webFile = ['_' => 'upload.webFile', 'size' => int, 'mime_type' => 'string', 'file_type' => storage_FileType, 'mtime' => int, 'bytes' => 'bytes'];

Or, if you're into Lua:

upload_webFile={_='upload.webFile', size=int, mime_type='string', file_type=storage_FileType, mtime=int, bytes='bytes'}