[docs]classErrorEvent(TelegramObject):""" Internal event, should be used to receive errors while processing Updates from Telegram Source: https://core.telegram.org/bots/api#error-event """update:Update"""Received update"""exception:Exception"""Exception"""ifTYPE_CHECKING:def__init__(__pydantic_self__,*,update:Update,exception:Exception,**__pydantic_kwargs:Any)->None:super().__init__(update=update,exception=exception,**__pydantic_kwargs)