upload.saveBigFilePart
Saves a part of a large file (over 10Mb in size) to be later passed to one of the methods.
Example
TL schema
Parameters
Name | Type | Description |
file_id | Random file id, created by the client | |
file_part | Part sequence number | |
file_total_parts | Total number of parts | |
bytes | Binary data, part contents |
Result
Possible errors
Code | Type | Description |
400 | FILE_PARTS_INVALID | The number of file parts is invalid |
400 | FILE_PART_EMPTY | The provided file part is empty |
400 | FILE_PART_INVALID | The file part number is invalid |
400 | FILE_PART_SIZE_CHANGED | Provided file part size has changed |
400 | FILE_PART_SIZE_INVALID | The provided file part size is invalid |
400 | FILE_PART_TOO_BIG | The uploaded file part is too big |
Can bots use this methd ?
yes
Related pages
Last updated