Update FILE_PART(S)_INVALID error message

Telegram now allows uploads up to 2000 MiB in size (4000 parts)
This commit is contained in:
Dan 2020-07-06 16:01:37 +02:00 committed by GitHub
parent c196b90c9d
commit db7fc68efe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,8 +12,8 @@ PHONE_NUMBER_UNOCCUPIED The phone number is not yet being used
USERS_TOO_FEW Not enough users (to create a chat, for example)
USERS_TOO_MUCH The maximum number of users has been exceeded (to create a chat, for example)
TYPE_CONSTRUCTOR_INVALID The type constructor is invalid
FILE_PART_INVALID The file part number is invalid. The value is not between 0 and 2999
FILE_PARTS_INVALID Invalid number of parts. The value is not between 1 and 3000
FILE_PART_INVALID The file part number is invalid. The value is not between 0 and 3999
FILE_PARTS_INVALID Invalid number of parts. The value is not between 1 and 4000
FILE_PART_X_MISSING Part {x} of the file is missing from storage
MD5_CHECKSUM_INVALID The file's checksum did not match the md5_checksum parameter
PHOTO_INVALID_DIMENSIONS The photo dimensions are invalid

1 id message
12 USERS_TOO_FEW Not enough users (to create a chat, for example)
13 USERS_TOO_MUCH The maximum number of users has been exceeded (to create a chat, for example)
14 TYPE_CONSTRUCTOR_INVALID The type constructor is invalid
15 FILE_PART_INVALID The file part number is invalid. The value is not between 0 and 2999 The file part number is invalid. The value is not between 0 and 3999
16 FILE_PARTS_INVALID Invalid number of parts. The value is not between 1 and 3000 Invalid number of parts. The value is not between 1 and 4000
17 FILE_PART_X_MISSING Part {x} of the file is missing from storage
18 MD5_CHECKSUM_INVALID The file's checksum did not match the md5_checksum parameter
19 PHOTO_INVALID_DIMENSIONS The photo dimensions are invalid