mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Add Channel_private exception
{/mail.py:67} 2021-08-30 18:36:00,175 - WARNING - [MAIL] ::: EXC(Channel_private) ::: MRO([<class 'aiogram.utils.exceptions.BadRequest'>, <class 'aiogram.utils.exceptions.TelegramAPIError'>, <class 'Exception'>, <class 'BaseException'>, <class 'aiogram.utils.exceptions._MatchErrorMixin'>, <class 'object'>])
This commit is contained in:
parent
e2b54301ca
commit
77c18e8f5c
1 changed files with 4 additions and 0 deletions
|
|
@ -519,6 +519,10 @@ class ChatRestricted(BadRequest):
|
|||
match = 'Chat_restricted'
|
||||
|
||||
|
||||
class ChannelPrivate(BadRequest):
|
||||
match = 'Channel_private'
|
||||
|
||||
|
||||
class NotFound(TelegramAPIError, _MatchErrorMixin):
|
||||
__group = True
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue