# Constructor: upload.webFile

Back to constructors index

Represents a chunk of an HTTP webfile downloaded through telegram’s secure MTProto servers

# Attributes:

Name Type Required Description
size int Yes File size
mime_type string Yes Mime type
file_type storage.FileType Yes File type
mtime int Yes Modified time
bytes bytes Yes Data

# 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'}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.