Upload.WebFile

Remote file

upload.webFile#21e753bc size:int mime_type:string file_type:storage.FileType mtime:int bytes:bytes = upload.WebFile;

---functions---

upload.getWebFile#24e6818d location:InputWebFileLocation offset:int limit:int = upload.WebFile;

Constructors

Constructor Description
upload.webFile Represents a chunk of an HTTP webfile downloaded through telegram's secure MTProto servers

Methods

Method Description
upload.getWebFile Returns content of an HTTP file or a part, by proxying the request through telegram.