InputFile

class pyrogram.raw.types.InputFile

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

Constructor type of InputFile.

Details
  • Layer: 126

  • ID: 0xf52ff27f

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.