upload.FileCdnRedirect#
- class pyrogram.raw.types.upload.FileCdnRedirect#
The file must be downloaded from a CDN DC.
Constructor of
File
.- Details:
Layer:
158
ID:
F18CDA44
- Parameters:
dc_id (
int
32-bit
) – CDN DC ID.file_token (
bytes
) – File token (see CDN files).encryption_key (
bytes
) – Encryption key (see CDN files).encryption_iv (
bytes
) – Encryption IV (see CDN files).file_hashes (List of
FileHash
) – File hashes (see CDN files).
- Functions:
This object can be returned by 1 function.
Returns content of a whole file or its part.