Raw.upload.FileCdnRedirect

Raw.upload.FileCdnRedirect

The file must be downloaded from a cdn dc.

upload.fileCdnRedirect#f18cda44 dc_id:int file_token:bytes encryption_key:bytes encryption_iv:bytes file_hashes:Vector<FileHash> = upload.File;
export namespace Raw {
  export namespace upload {
    export class FileCdnRedirect {
      constructor(params: {
        dcId: number;
        fileToken: Buffer;
        encryptionKey: Buffer;
        encryptionIv: Buffer;
        fileHashes: Array<Raw.TypeFileHash>;
      }) {}
    }
  }
}
🚫

This is a types constructor, you can’t use it as method when call invoke.

Layer: 185
Constructor ID: 0xf18cda44

Property

  • dcId : number

    Cdn dc id

  • fileToken : Buffer

    File token (see cdn files)

  • encryptionKey : Buffer

    Encryption key (see cdn files)

  • encryptionIv : Buffer

    Encryption iv (see cdn files)

  • fileHashes : Array of Raw.TypeFileHash

    File hashes (see cdn files)