diff --git a/aiogram/types/update.py b/aiogram/types/update.py index 7cf616bb..e2fd3a55 100644 --- a/aiogram/types/update.py +++ b/aiogram/types/update.py @@ -1,7 +1,5 @@ from __future__ import annotations -from functools import lru_cache - from . import base from . import fields from .callback_query import CallbackQuery @@ -76,7 +74,5 @@ class AllowedUpdates(helper.Helper): ) @classmethod - @lru_cache(1) def default(cls): - excluded = cls.CHAT_MEMBER + cls.MY_CHAT_MEMBER - return list(filter(lambda item: item not in excluded, cls.all())) + return []