Skip to content

Commit bf2bdac

Browse files
Add MANAGER_INVALID, MANAGER_PERMISSION_MISSING, USERNAME_SUFFIX_MISSING to known errors
1 parent 5eb2653 commit bf2bdac

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

compiler/errors/source/400_BAD_REQUEST.tsv

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,8 @@ LASTNAME_INVALID The last name is invalid.
292292
LIMIT_INVALID The provided limit is invalid.
293293
LINK_NOT_MODIFIED The chat link was not modified because you tried to link to the same target.
294294
LOCATION_INVALID The provided location is invalid.
295+
MANAGER_INVALID The provided bot manager is invalid.
296+
MANAGER_PERMISSION_MISSING The bot manager permission is missing.
295297
MAX_DATE_INVALID The specified maximum date is invalid.
296298
MAX_ID_INVALID The provided max_id is invalid.
297299
MAX_QTS_INVALID The specified qts is invalid.
@@ -599,6 +601,7 @@ USERNAME_NOT_MODIFIED The username was not modified because you tried to edit it
599601
USERNAME_NOT_OCCUPIED The provided username is not occupied by anyone.
600602
USERNAME_OCCUPIED The provided username is already in use by someone else.
601603
USERNAME_PURCHASE_AVAILABLE The specified username can be purchased on https://fragment.com.
604+
USERNAME_SUFFIX_MISSING Bot username must end in `bot`.
602605
USERPIC_UPLOAD_REQUIRED You are required to upload a profile picture for this action.
603606
USERS_TOO_FEW Not enough users (to create a chat, for example).
604607
USERS_TOO_MUCH The maximum number of users has been exceeded (to create a chat, for example).

0 commit comments

Comments
 (0)