Raw.InputSecureFileUploaded

Raw.InputSecureFileUploaded

Uploaded secure file, for more info see the passport docs

inputSecureFileUploaded#3334b0f0 id:long parts:int md5_checksum:string file_hash:bytes secret:bytes = InputSecureFile;
export namespace Raw {
  export class InputSecureFileUploaded {
    constructor(params: {
      id: bigint;
      parts: number;
      md5Checksum: string;
      fileHash: Buffer;
      secret: Buffer;
    }) {}
  }
}
🚫

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

Layer: 185
Constructor ID: 0x3334b0f0

Property

  • id : bigint

    Secure file id

  • parts : number

    Secure file part count

  • md5Checksum : string

    Md5 hash of encrypted uploaded file, to be checked server-side

  • fileHash : Buffer

    File hash

  • secret : Buffer

    Secret