upload.webFile

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

Constructor schema is available as of layer 64. Switch ยป

Parameters

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

Type

upload.WebFile

Related pages

Uploading and Downloading Files

How to transfer large data batches correctly.