Link Search Menu Expand Document

Constructor: upload.webFile

Back to constructors index

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

Attributes:

NameTypeRequiredDescription
sizeintYesFile size
mime_typestringYesMime type
file_typestorage.FileTypeYesFile type
mtimeintYesModified time
bytesbytesYesData

Type: upload.WebFile

Example:

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