FileCdnRedirect¶
-
class
pyrogram.raw.types.upload.
FileCdnRedirect
¶ The file must be downloaded from a CDN DC.
Constructor type of
File
.- Details
Layer:
126
ID:
0xf18cda44
- 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).
- Methods
This object can be returned by 1 method:
Returns content of a whole file or its part.