Update to version 1.21

This commit is contained in:
Lonami Exo
2021-03-14 11:31:03 +01:00
parent bdc324760d
commit 3d6a2bb945
3 changed files with 43 additions and 1 deletions

View File

@@ -38,6 +38,7 @@ BOT_MISSING,400,This method can only be run by a bot
BOT_PAYMENTS_DISABLED,400,This method can only be run by a bot
BOT_POLLS_DISABLED,400,You cannot create polls under a bot account
BOT_RESPONSE_TIMEOUT,400,The bot did not answer to the callback query in time
BROADCAST_CALLS_DISABLED,400,
BROADCAST_FORBIDDEN,403,The request cannot be used in broadcast channels
BROADCAST_ID_INVALID,400,The channel is invalid
BROADCAST_PUBLIC_VOTERS_FORBIDDEN,400,You cannot broadcast polls where the voters are public
1 name codes description
38 BOT_PAYMENTS_DISABLED 400 This method can only be run by a bot
39 BOT_POLLS_DISABLED 400 You cannot create polls under a bot account
40 BOT_RESPONSE_TIMEOUT 400 The bot did not answer to the callback query in time
41 BROADCAST_CALLS_DISABLED 400
42 BROADCAST_FORBIDDEN 403 The request cannot be used in broadcast channels
43 BROADCAST_ID_INVALID 400 The channel is invalid
44 BROADCAST_PUBLIC_VOTERS_FORBIDDEN 400 You cannot broadcast polls where the voters are public