upload.SaveFilePart
- class pyrogram.raw.functions.upload.SaveFilePart
Saves a part of file for further sending to one of the methods.
- Details:
Layer:
223ID:
B304A621
- Parameters:
file_id (
int64-bit) – Random file identifier created by the clientfile_part (
int32-bit) – Numerical order of a partbytes (
bytes) – Binary data, content of a part
- Returns:
bool
TL Schema
upload.saveFilePart#b304a621
file_id:long
file_part:int
bytes:bytes
= Bool
Parameter Tree
SaveFilePart
├── file_id →
long├── file_part →
int└── bytes →
bytesExample
await app.invoke(
SaveFilePart(
file_id=0,
file_part=0,
bytes=b"data",
)
)