diff --git a/aiogram/utils/exceptions.py b/aiogram/utils/exceptions.py index 01f3bcf6..32291dd3 100644 --- a/aiogram/utils/exceptions.py +++ b/aiogram/utils/exceptions.py @@ -519,6 +519,10 @@ class ChatRestricted(BadRequest): match = 'Chat_restricted' +class ChannelPrivate(BadRequest): + match = 'Channel_private' + + class NotFound(TelegramAPIError, _MatchErrorMixin): __group = True