upload.getCdnFileHashes
Get SHA256 hashes for verifying downloaded CDN files
Get SHA256 hashes for verifying downloaded [CDN](https://core.telegram.org/cdn.md) files
| Name | Type | Required | Description |
|---|---|---|---|
file_token | bytes | Yes | File |
offset | long | Yes | Offset from which to start getting hashes |
Responses
Vector<FileHash>
MTProto RPC
- 400 · CDN_METHOD_INVALID — You can't call this method in a CDN DC.
- 400 · FILE_TOKEN_INVALID — The master DC did not accept the file_token (e.g., the token has expired). Continue downloading the file from the master DC using upload.getFile.
- 400 · RSA_DECRYPT_FAILED — Internal RSA decryption failed.