Constructor: upload.fileCdnRedirect
The file must be downloaded from a CDN DC.
Attributes:
Name | Type | Required | Description |
---|---|---|---|
dc_id | int | Yes | CDN DC ID |
file_token | string | Yes | |
encryption_key | string | Yes | |
encryption_iv | string | Yes | |
file_hashes | Array of FileHash | Yes | File hashes (see CDN files) |
Type: upload.File
Example:
$upload_fileCdnRedirect = ['_' => 'upload.fileCdnRedirect', 'dc_id' => int, 'file_token' => 'string', 'encryption_key' => 'string', 'encryption_iv' => 'string', 'file_hashes' => [FileHash, FileHash]];