diff --git a/aiogram/utils/exceptions.py b/aiogram/utils/exceptions.py index f2ad6111..01f3bcf6 100644 --- a/aiogram/utils/exceptions.py +++ b/aiogram/utils/exceptions.py @@ -515,6 +515,10 @@ class NoRightsToSendMessage(BadRequest): match = 'Have no rights to send a message' +class ChatRestricted(BadRequest): + match = 'Chat_restricted' + + class NotFound(TelegramAPIError, _MatchErrorMixin): __group = True