FileHash#

class pyrogram.raw.types.FileHash#

Telegram API type.

Constructor of FileHash.

Details:
  • Layer: 224

  • ID: F39B035C

Parameters:
  • offset (int 64-bit) – N/A

  • limit (int 32-bit) – N/A

  • hash (bytes) – N/A

Functions:

This object can be returned by 3 functions.

upload.ReuploadCdnFile

Request a reupload of a certain file to a CDN DC.

upload.GetCdnFileHashes

Get SHA256 hashes for verifying downloaded CDN files

upload.GetFileHashes

Get SHA256 hashes for verifying downloaded files