Raw.InputFile

Raw.InputFile

Defines a file saved in parts using the method upload.savefilepart.

inputFile#f52ff27f id:long parts:int name:string md5_checksum:string = InputFile;
export namespace Raw {
  export class InputFile {
    constructor(params: { id: bigint; parts: number; name: string; md5Checksum: string }) {}
  }
}
🚫

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

Layer: 185
Constructor ID: 0xf52ff27f

Property

  • id : bigint

    Random file identifier created by the client

  • parts : number

    Number of parts saved

  • name : string

    Full name of the file

  • md5Checksum : string

    In case the file’s md5-hash was passed, contents of the file will be checked prior to use