upload.getCdnFileHashes
Get SHA256 hashes for verifying downloaded CDN files
Get SHA256 hashes for verifying downloaded [CDN](https://core.telegram.org/cdn.md) files
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
file_token | bytes | はい | File |
offset | long | はい | Offset from which to start getting hashes |
レスポンス
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.