Add BotCommandsTooMuchError class (#4700)

This commit is contained in:
iLuisTheDev 2025-09-13 19:20:23 +03:30 committed by GitHub
parent 2b56fa91bb
commit 859a83a1a5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -34,6 +34,7 @@ BOTS_TOO_MUCH,400,There are too many bots in this chat/channel
BOT_CHANNELS_NA,400,Bots can't edit admin privileges BOT_CHANNELS_NA,400,Bots can't edit admin privileges
BOT_COMMAND_DESCRIPTION_INVALID,400,"The command description was empty, too long or had invalid characters used" BOT_COMMAND_DESCRIPTION_INVALID,400,"The command description was empty, too long or had invalid characters used"
BOT_COMMAND_INVALID,400,The specified command is invalid BOT_COMMAND_INVALID,400,The specified command is invalid
BOT_COMMANDS_TOO_MUCH,400,"The provided commands are too many"
BOT_DOMAIN_INVALID,400,The domain used for the auth button does not match the one configured in @BotFather BOT_DOMAIN_INVALID,400,The domain used for the auth button does not match the one configured in @BotFather
BOT_GAMES_DISABLED,400,Bot games cannot be used in this type of chat BOT_GAMES_DISABLED,400,Bot games cannot be used in this type of chat
BOT_GROUPS_BLOCKED,400,This bot can't be added to groups BOT_GROUPS_BLOCKED,400,This bot can't be added to groups

1 name codes description
34 BOT_CHANNELS_NA 400 Bots can't edit admin privileges
35 BOT_COMMAND_DESCRIPTION_INVALID 400 The command description was empty, too long or had invalid characters used
36 BOT_COMMAND_INVALID 400 The specified command is invalid
37 BOT_COMMANDS_TOO_MUCH 400 The provided commands are too many
38 BOT_DOMAIN_INVALID 400 The domain used for the auth button does not match the one configured in @BotFather
39 BOT_GAMES_DISABLED 400 Bot games cannot be used in this type of chat
40 BOT_GROUPS_BLOCKED 400 This bot can't be added to groups