InputFile#

class pyrogram.raw.base.InputFile#

Defines a file uploaded by the client.

Constructors:

This base type has 3 constructors available.

InputFile

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

InputFileBig

Assigns a big file (over 10 MB in size), saved in part using the method upload.saveBigFilePart.

InputFileStoryDocument

Used to edit the thumbnail/static preview of a story, see here » for more info on the full flow.