InputFile
- class pyrogram.raw.types.InputFile
Defines a file saved in parts using the method upload.saveFilePart.
Constructor of
InputFile.- Details:
Layer:
223ID:
F52FF27F
- Parameters:
id (
int64-bit) – Random file identifier created by the clientparts (
int32-bit) – Number of parts savedname (
str) – Full name of the filemd5_checksum (
str) – In case the file’s md5-hash was passed, contents of the file will be checked prior to use
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",
)