Changed type of last_synchronization_error_date

This commit is contained in:
Alex Root Junior 2022-04-19 21:28:17 +03:00
parent a869c54ecc
commit 5d513b682c
No known key found for this signature in database
GPG key ID: 074C1D455EBEA4AC

View file

@ -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"""