telegram api method · layer 229 · #de7b673d
upload.saveBigFilePart
Saves a part of a large file (over 10 MB in size) to be later passed to one of the methods.
definition
upload.saveBigFilePart#de7b673d file_id:long file_part:int file_total_parts:int bytes:bytes = Bool;
parameters
| name | type | description |
|---|---|---|
file_id | long | Random file id, created by the client |
file_part | int | Part sequence number |
file_total_parts | int | Total number of parts |
bytes | bytes | Binary data, part contents |
returns
errors (9)
| code | error | description |
|---|---|---|
| 400 | BUSINESS_CONNECTION_NOT_ALLOWED | This method was invoked over a business connection using invokeWithBusinessConnection, but either (1) we're a user, and users cannot invoke methods over a business connection; (2) we're a bot, but business mode was disabled in @botfather or (3); we're a bot, but this method cannot be invoked over a business connection. |
| 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. |
| 400 | FILE_PART_TOO_SMALL | The size of the uploaded file part is too small, please see the documentation for the allowed sizes. |
| 400 | FILE_PARTS_INVALID | The number of file parts is invalid. |
| 401 | AUTH_KEY_UNREGISTERED | The specified authorization key is not registered in the system (for example, a PFS temporary key has expired). |
history
present in layers 9–229
| id | layers |
|---|---|
| #de7b673d | 9–229 |