FileHash#
- class pyrogram.raw.types.FileHash#
SHA256 Hash of an uploaded file, to be checked for validity after download.
Constructor of
FileHash
.- Details:
Layer:
158
ID:
F39B035C
- Parameters:
offset (
int
64-bit
) – Offset from where to start computing SHA-256 hash.limit (
int
32-bit
) – Length.hash (
bytes
) – SHA-256 Hash of file chunk, to be checked for validity after download.
- Functions:
This object can be returned by 3 functions.
Request a reupload of a certain file to a CDN DC.
Get SHA256 hashes for verifying downloaded CDN files.
Get SHA256 hashes for verifying downloaded files.