From 5d513b682c706e92cffe6fd8255711ffd3137665 Mon Sep 17 00:00:00 2001 From: Alex Root Junior Date: Tue, 19 Apr 2022 21:28:17 +0300 Subject: [PATCH] Changed type of `last_synchronization_error_date` --- aiogram/types/webhook_info.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aiogram/types/webhook_info.py b/aiogram/types/webhook_info.py index 7738588d..a3ec68e5 100644 --- a/aiogram/types/webhook_info.py +++ b/aiogram/types/webhook_info.py @@ -25,7 +25,7 @@ class WebhookInfo(TelegramObject): """*Optional*. Unix time for the most recent error that happened when trying to deliver an update via webhook""" last_error_message: Optional[str] = None """*Optional*. Error message in human-readable format for the most recent error that happened when trying to deliver an update via webhook""" - last_synchronization_error_date: Optional[int] = None + last_synchronization_error_date: Optional[datetime.datetime] = None """*Optional*. Unix time of the most recent error that happened when trying to synchronize available updates with Telegram datacenters""" max_connections: Optional[int] = None """*Optional*. Maximum allowed number of simultaneous HTTPS connections to the webhook for update delivery"""