upload.fileCdnRedirect

The file must be downloaded from a CDN DC.

Constructor schema is available as of layer 70. Switch ยป

Parameters

Name Type Description
dc_id int 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 Vector<FileHash> File hashes (see CDN files)

Type

upload.File

Related pages

Encrypted CDNs for Speed and Security