GetCdnFile

class pyrogram.api.functions.upload.GetCdnFile(file_token: bytes, offset: int, limit: int)
ID

0x2000bcc3

Parameters:
  • file_tokenbytes
  • offsetint 32-bit
  • limitint 32-bit
Raises:

Error

Returns:

Either upload.CdnFileReuploadNeeded or upload.CdnFile