Removing bot commands limit

Removing limit of bot commands since it may be dynamically changed later.
This commit is contained in:
iLuisTheDev 2025-09-12 23:34:12 +03:30 committed by GitHub
parent 18804ba392
commit bc76589cf8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -34,7 +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_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_COMMANDS_TOO_MUCH,400,"Too many commands, the capacity is 100"
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_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

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 Too many commands, the capacity is 100 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