InputFile#

class pyrogram.raw.types.InputFile#

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

Constructor of InputFile.

Details:
  • Layer: 158

  • ID: F52FF27F

Parameters:
  • id (int 64-bit) – Random file identifier created by the client.

  • parts (int 32-bit) – Number of parts saved.

  • name (str) – Full name of the file.

  • md5_checksum (str) – In case the file’s md5-hash was passed, contents of the file will be checked prior to use.