Raw.FileHash

Raw.FileHash

Sha256 hash of an uploaded file, to be checked for validity after download

fileHash#f39b035c offset:long limit:int hash:bytes = FileHash;
export namespace Raw {
  export class FileHash {
    constructor(params: { offset: bigint; limit: number; hash: Buffer }) {}
  }
}
🚫

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

Layer: 185
Constructor ID: 0xf39b035c

Property

  • offset : bigint

    Offset from where to start computing sha-256 hash

  • limit : number

    Length

  • hash : Buffer

    Sha-256 hash of file chunk, to be checked for validity after download