mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
fixed BotKicked match
This commit is contained in:
parent
1e2fe72aca
commit
aa58c8fdeb
1 changed files with 1 additions and 1 deletions
|
|
@ -515,7 +515,7 @@ class Unauthorized(TelegramAPIError, _MatchErrorMixin):
|
|||
|
||||
|
||||
class BotKicked(Unauthorized):
|
||||
match = 'bot was kicked from a chat'
|
||||
match = 'bot was kicked from'
|
||||
|
||||
|
||||
class BotBlocked(Unauthorized):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue