diff --git a/aiogram/types/base.py b/aiogram/types/base.py index 3aca7456..20290a98 100644 --- a/aiogram/types/base.py +++ b/aiogram/types/base.py @@ -194,7 +194,7 @@ class TelegramObject(ContextInstanceMixin, metaclass=MetaTelegramObject): @classmethod def create(cls: typing.Type[T], *args: typing.Any, **kwargs: typing.Any) -> T: - raise NotImplemented + raise NotImplementedError def __str__(self) -> str: """