Raw.upload.GetCdnFile

Raw.upload.GetCdnFile

Download a cdn file.

upload.getCdnFile#395f69da file_token:bytes offset:long limit:int = upload.CdnFile;
export namespace Raw {
  export namespace upload {
    export class GetCdnFile {
      constructor(params: { fileToken: Buffer; offset: bigint; limit: number }) {}
    }
  }
}

This is a function constructor, you can use it as method when call invoke

Layer: 185
Constructor ID: 0x395f69da

Property

  • fileToken : Buffer

    File token

  • offset : bigint

    Offset of chunk to download

  • limit : number

    Length of chunk to download

Results

Raw.upload.TypeCdnFile