diff --git a/aiogram/types/update.py b/aiogram/types/update.py index 786dcc43..013ac5d7 100644 --- a/aiogram/types/update.py +++ b/aiogram/types/update.py @@ -59,11 +59,10 @@ class Update(TelegramObject): Detect content type Return update type and content - If update type unknown raise UpdateTypeLookupError + If update type is unknown, raise UpdateTypeLookupError :return: """ - event: TelegramObject if self.message: return "message", self.message if self.edited_message: