Raw.upload.GetCdnFileHashes

Raw.upload.GetCdnFileHashes

Get sha256 hashes for verifying downloaded cdn files

upload.getCdnFileHashes#91dc3f31 file_token:bytes offset:long = Vector<FileHash>;
export namespace Raw {
  export namespace upload {
    export class GetCdnFileHashes {
      constructor(params: { fileToken: Buffer; offset: bigint }) {}
    }
  }
}

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

Layer: 185
Constructor ID: 0x91dc3f31

Property

  • fileToken : Buffer

    File

  • offset : bigint

    Offset from which to start getting hashes

Results

Array of Raw.TypeFileHash

Bots can use