FileHash
- class pyrogram.raw.base.FileHash
Hash of an uploaded file, to be checked for validity after download
- Constructors:
This base type has 1 constructor available.
SHA256 Hash of an uploaded file, 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
TL Schema
fileHash#f39b035c
offset:long
limit:int
hash:bytes
= FileHash
Parameter Tree
FileHash
├── offset →
long├── limit →
int└── hash →
bytesExample
FileHash(
offset=0,
limit=0,
hash=b"data",
)