Add some errors to known errors

This commit is contained in:
KurimuzonAkuma 2023-11-29 22:49:09 +03:00
parent 293b3392e6
commit e102dc4445
2 changed files with 3 additions and 1 deletions

View File

@ -138,6 +138,7 @@ GAME_BOT_INVALID You cannot send that game with the current bot
GEO_POINT_INVALID Invalid geo point provided GEO_POINT_INVALID Invalid geo point provided
GIF_CONTENT_TYPE_INVALID GIF content-type invalid GIF_CONTENT_TYPE_INVALID GIF content-type invalid
GIF_ID_INVALID The provided gif/animation id is invalid GIF_ID_INVALID The provided gif/animation id is invalid
GIFT_SLUG_EXPIRED The gift slug is expired
GRAPH_INVALID_RELOAD Invalid graph token provided, please reload the stats and provide the updated token GRAPH_INVALID_RELOAD Invalid graph token provided, please reload the stats and provide the updated token
GRAPH_OUTDATED_RELOAD The graph data is outdated GRAPH_OUTDATED_RELOAD The graph data is outdated
GROUPCALL_SSRC_DUPLICATE_MUCH Too many group call synchronization source duplicates GROUPCALL_SSRC_DUPLICATE_MUCH Too many group call synchronization source duplicates

1 id message
138 GEO_POINT_INVALID Invalid geo point provided
139 GIF_CONTENT_TYPE_INVALID GIF content-type invalid
140 GIF_ID_INVALID The provided gif/animation id is invalid
141 GIFT_SLUG_EXPIRED The gift slug is expired
142 GRAPH_INVALID_RELOAD Invalid graph token provided, please reload the stats and provide the updated token
143 GRAPH_OUTDATED_RELOAD The graph data is outdated
144 GROUPCALL_SSRC_DUPLICATE_MUCH Too many group call synchronization source duplicates

View File

@ -5,9 +5,10 @@ FILEREF_UPGRADE_NEEDED The file reference has expired and you must use a refresh
FRESH_CHANGE_ADMINS_FORBIDDEN You were just elected admin, you can't add or modify other admins yet FRESH_CHANGE_ADMINS_FORBIDDEN You were just elected admin, you can't add or modify other admins yet
FRESH_CHANGE_PHONE_FORBIDDEN You can't change your phone number because your session was logged-in recently FRESH_CHANGE_PHONE_FORBIDDEN You can't change your phone number because your session was logged-in recently
FRESH_RESET_AUTHORISATION_FORBIDDEN You can't terminate other authorized sessions because the current was logged-in recently FRESH_RESET_AUTHORISATION_FORBIDDEN You can't terminate other authorized sessions because the current was logged-in recently
GIFTCODE_NOT_ALLOWED Giftcode not allowed
PHONE_NUMBER_INVALID The phone number is invalid PHONE_NUMBER_INVALID The phone number is invalid
PHONE_PASSWORD_FLOOD You have tried to log-in too many times PHONE_PASSWORD_FLOOD You have tried to log-in too many times
STICKERSET_INVALID The sticker set is invalid STICKERSET_INVALID The sticker set is invalid
STICKERSET_OWNER_ANONYMOUS This sticker set can't be used as the group's sticker set because it was created by one of its anonymous admins STICKERSET_OWNER_ANONYMOUS This sticker set can't be used as the group's sticker set because it was created by one of its anonymous admins
USERPIC_UPLOAD_REQUIRED You must have a profile picture to publish your geolocation USERPIC_UPLOAD_REQUIRED You must have a profile picture to publish your geolocation
USER_RESTRICTED You are limited/restricted. You can't perform this action USER_RESTRICTED You are limited/restricted. You can't perform this action

1 id message
5 FRESH_CHANGE_ADMINS_FORBIDDEN You were just elected admin, you can't add or modify other admins yet
6 FRESH_CHANGE_PHONE_FORBIDDEN You can't change your phone number because your session was logged-in recently
7 FRESH_RESET_AUTHORISATION_FORBIDDEN You can't terminate other authorized sessions because the current was logged-in recently
8 GIFTCODE_NOT_ALLOWED Giftcode not allowed
9 PHONE_NUMBER_INVALID The phone number is invalid
10 PHONE_PASSWORD_FLOOD You have tried to log-in too many times
11 STICKERSET_INVALID The sticker set is invalid
12 STICKERSET_OWNER_ANONYMOUS This sticker set can't be used as the group's sticker set because it was created by one of its anonymous admins
13 USERPIC_UPLOAD_REQUIRED You must have a profile picture to publish your geolocation
14 USER_RESTRICTED You are limited/restricted. You can't perform this action