upload.GetWebFile

class pyrogram.raw.functions.upload.GetWebFile

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

Details:
  • Layer: 187

  • ID: 24E6818D

Parameters:
  • location (InputWebFileLocation) – The file to download

  • offset (int 32-bit) – Number of bytes to be skipped

  • limit (int 32-bit) – Number of bytes to be returned

Returns:

upload.WebFile