Remote file

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


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


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


Method Description
upload.getWebFile Returns content of a web file, by proxying the request through telegram, see the webfile docs for more info.

Note: the query must be sent to the DC specified in the webfile_dc_id MTProto configuration field.