diff --git a/aiogram/types/error_event.py b/aiogram/types/error_event.py index 6579e910..1667d9e9 100644 --- a/aiogram/types/error_event.py +++ b/aiogram/types/error_event.py @@ -1,6 +1,12 @@ -from aiogram.types import Update +from __future__ import annotations + +from typing import TYPE_CHECKING + from aiogram.types.base import MutableTelegramObject +if TYPE_CHECKING: + from .update import Update + class _ErrorEvent(MutableTelegramObject): class Config: