diff --git a/data/web/corefork.telegram.org/api/errors.html b/data/web/corefork.telegram.org/api/errors.html index 60228a2b4c..02d3f7eceb 100644 --- a/data/web/corefork.telegram.org/api/errors.html +++ b/data/web/corefork.telegram.org/api/errors.html @@ -42,14 +42,14 @@
There will be errors when working with the API, and they must be correctly handled on the client.
-An error is characterized by several parameters:
+There will be errors when working with the API, and they must be correctly handled on the client.
+An error is characterized by several parameters:
Numerical value similar to HTTP status. Contains information on the type of error that occurred: for example, a data input error, privacy error, or server error. This is a required parameter.
A string literal in the form of /[A-Z_0-9]+/
, which summarizes the problem. For example, AUTH_KEY_UNREGISTERED
. This is an optional parameter.
A full machine-readable JSON list of RPC errors that can be returned by all methods in the API can be found here », what follows is a description of its fields:
+A full machine-readable JSON list of RPC errors that can be returned by all methods in the API can be found here », what follows is a description of its fields:
errors
- All error messages and codes for each method (object).Users can now send custom emojis, gift Telegram Premium to other users, and download album covers for any music file.
Also introducing new voice message privacy settings and support for additional payment methods.
The E2E schema was updated to account for previous changes in the main schema (custom emojis+spoiler entities).
Added the following brand new documentation articles:
Also added more details on entity length calculation and AUTH_KEY_DUPLICATED
errors.
The E2E schema was also updated to account for previous changes in the main schema (custom emojis+spoiler entities).
The RPC error database » was also updated.
This constructor does not require any parameters.
Code | +Type | +Description | +
---|---|---|
400 | +PASSWORD_EMPTY | +The provided password is empty. | +
How to login to a user's account if they have enabled 2FA, how to change password.
Code | +Type | +Description | +
---|---|---|
400 | +LANG_CODE_INVALID | +The specified language code is invalid. | +
pee
MESSAGE_ID_INVALID
The provided message id is invalid.
+
+400
+PEER_ID_INVALID
+The provided peer id is invalid.
+