Add some errors to known errors

This commit is contained in:
KurimuzonAkuma 2024-08-05 00:31:21 +03:00
parent 438e9d2f0e
commit 99efba3c5a

View File

@ -66,6 +66,7 @@ CHANNEL_PARICIPANT_MISSING The current user is not in the channel
CHANNEL_PRIVATE The channel/supergroup is not accessible CHANNEL_PRIVATE The channel/supergroup is not accessible
CHANNEL_TOO_BIG The channel too big CHANNEL_TOO_BIG The channel too big
CHANNEL_TOO_LARGE The channel is too large CHANNEL_TOO_LARGE The channel is too large
CHATLISTS_TOO_MUCH You have too much chatlists on your account
CHAT_ABOUT_NOT_MODIFIED The chat about text was not modified because you tried to edit it using the same content CHAT_ABOUT_NOT_MODIFIED The chat about text was not modified because you tried to edit it using the same content
CHAT_ABOUT_TOO_LONG The chat about text is too long CHAT_ABOUT_TOO_LONG The chat about text is too long
CHAT_ADMIN_REQUIRED The method requires chat admin privileges CHAT_ADMIN_REQUIRED The method requires chat admin privileges
@ -304,6 +305,7 @@ PREMIUM_ACCOUNT_REQUIRED The method requires a premium user account
PRIVACY_KEY_INVALID The privacy key is invalid PRIVACY_KEY_INVALID The privacy key is invalid
PRIVACY_TOO_LONG Your privacy exception list has exceeded the maximum capacity PRIVACY_TOO_LONG Your privacy exception list has exceeded the maximum capacity
PRIVACY_VALUE_INVALID The privacy value is invalid PRIVACY_VALUE_INVALID The privacy value is invalid
PUBLIC_BROADCAST_EXPECTED A public channel was expected, but something else was provided
PUBLIC_KEY_REQUIRED A public key is required PUBLIC_KEY_REQUIRED A public key is required
QUERY_ID_EMPTY The query ID is empty QUERY_ID_EMPTY The query ID is empty
QUERY_ID_INVALID The callback query id is invalid QUERY_ID_INVALID The callback query id is invalid
@ -398,6 +400,7 @@ TITLE_INVALID The specified stickerpack title is invalid
TMP_PASSWORD_DISABLED The temporary password is disabled TMP_PASSWORD_DISABLED The temporary password is disabled
TMP_PASSWORD_INVALID The temporary password is invalid TMP_PASSWORD_INVALID The temporary password is invalid
TOKEN_INVALID The provided token is invalid TOKEN_INVALID The provided token is invalid
TOKEN_SECRET_INVALID The specified token secret is invalid
TOPIC_CLOSED The topic was closed TOPIC_CLOSED The topic was closed
TOPIC_DELETED The topic was deleted TOPIC_DELETED The topic was deleted
TOPIC_ID_INVALID The provided topic ID is invalid TOPIC_ID_INVALID The provided topic ID is invalid

1 id message
66 CHANNEL_PRIVATE The channel/supergroup is not accessible
67 CHANNEL_TOO_BIG The channel too big
68 CHANNEL_TOO_LARGE The channel is too large
69 CHATLISTS_TOO_MUCH You have too much chatlists on your account
70 CHAT_ABOUT_NOT_MODIFIED The chat about text was not modified because you tried to edit it using the same content
71 CHAT_ABOUT_TOO_LONG The chat about text is too long
72 CHAT_ADMIN_REQUIRED The method requires chat admin privileges
305 PRIVACY_KEY_INVALID The privacy key is invalid
306 PRIVACY_TOO_LONG Your privacy exception list has exceeded the maximum capacity
307 PRIVACY_VALUE_INVALID The privacy value is invalid
308 PUBLIC_BROADCAST_EXPECTED A public channel was expected, but something else was provided
309 PUBLIC_KEY_REQUIRED A public key is required
310 QUERY_ID_EMPTY The query ID is empty
311 QUERY_ID_INVALID The callback query id is invalid
400 TMP_PASSWORD_DISABLED The temporary password is disabled
401 TMP_PASSWORD_INVALID The temporary password is invalid
402 TOKEN_INVALID The provided token is invalid
403 TOKEN_SECRET_INVALID The specified token secret is invalid
404 TOPIC_CLOSED The topic was closed
405 TOPIC_DELETED The topic was deleted
406 TOPIC_ID_INVALID The provided topic ID is invalid