Constructor: upload.fileCdnRedirect

Back to constructors index

File cdn redirect


Name Type Required Description
dc_id int Yes DC ID
file_token bytes Yes File token
encryption_key bytes Yes Encryption key
encryption_iv bytes Yes Encryption iv
file_hashes Array of FileHash Yes File hashes

Type: upload_File


$upload_fileCdnRedirect = ['_' => 'upload.fileCdnRedirect', 'dc_id' => int, 'file_token' => 'bytes', 'encryption_key' => 'bytes', 'encryption_iv' => 'bytes', 'file_hashes' => [FileHash, FileHash]];

Or, if you’re into Lua:

upload_fileCdnRedirect={_='upload.fileCdnRedirect', dc_id=int, file_token='bytes', encryption_key='bytes', encryption_iv='bytes', file_hashes={FileHash}}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.