InputFile
- class pyrogram.raw.base.InputFile
Defines a file uploaded by the client.
- Constructors:
This base type has 3 constructors available.
Defines a file saved in parts using the method upload.saveFilePart.
Assigns a big file (over 10 MB in size), saved in part using the method upload.saveBigFilePart.
Used to edit the thumbnail/static preview of a story, see here » for more info on the full flow.
TL Schema
inputFile#f52ff27f
id:long
parts:int
name:string
md5_checksum:string
= InputFile
Parameter Tree
InputFile
├── id →
long├── parts →
int├── name →
string└── md5_checksum →
stringExample
InputFile(
id=0,
parts=0,
name="text",
md5_checksum="text",
)