upload.saveFilePart #

Saves a part of file for further sending to one of the methods.

Layer 223

boolFalse#bc799737 = Bool;
boolTrue#997275b5 = Bool;
---functions---
upload.saveFilePart#b304a621 file_id:long file_part:int bytes:bytes = Bool;

Parameters #

NameTypeDescription
file_idlongRandom file identifier created by the client
file_partintNumerical order of a part
bytesbytesBinary data, content of a part

Result #

Bool

Both users and bots can use this method #

Possible errors #

CodeTypeDescription
400FILE_PART_EMPTYThe provided file part is empty.
400FILE_PART_INVALIDThe file part number is invalid.
400MSG_ID_INVALIDInvalid message ID provided.