Skip to content

Commit b956e14

Browse files
AlbertEinsteinTGnull-nick
authored andcommitted
Add USERNAME_PURCHASE_AVAILABLE to known errors
1 parent af53475 commit b956e14

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

compiler/errors/source/400_BAD_REQUEST.tsv

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,7 @@ USERNAME_INVALID The username is invalid
323323
USERNAME_NOT_MODIFIED The username was not modified because you tried to edit it using the same one
324324
USERNAME_NOT_OCCUPIED The username is not occupied by anyone
325325
USERNAME_OCCUPIED The username is already in use by someone else
326+
USERNAME_PURCHASE_AVAILABLE The username is available for purchase on fragment.com
326327
USERPIC_UPLOAD_REQUIRED You are required to upload a profile picture for this action
327328
USERS_TOO_FEW Not enough users (to create a chat, for example)
328329
USERS_TOO_MUCH The maximum number of users has been exceeded (to create a chat, for example)
@@ -359,4 +360,4 @@ WEBPAGE_CURL_FAILED Telegram server could not fetch the provided URL
359360
WEBPAGE_MEDIA_EMPTY The URL doesn't contain any valid media
360361
YOU_BLOCKED_USER You blocked this user
361362
TOPIC_DELETED The specified topic was deleted
362-
TOPIC_CLOSED This topic was closed, you can't send messages to it anymore
363+
TOPIC_CLOSED This topic was closed, you can't send messages to it anymore

0 commit comments

Comments
 (0)