+
    ÁFñjÃ  ã                   ó�   € R t ^ RIt^ RIHt ^ RIHt ^ RIHt ^ RI	H
t
 ^ RIHtHt ^ RIHt ]'       d   ^ RIHt  ! R	 R
]4      tR# )zFThis module contains an object that represents a Telegram WebhookInfo.N)ÚSequence)ÚTYPE_CHECKING)ÚTelegramObject)Úparse_sequence_arg)Úextract_tzinfo_from_defaultsÚfrom_timestamp©ÚJSONDict)ÚBotc                   óx   a a€ ] tR t^"t oRtR	tR
RR/V3R lV 3R llllt]RV3R lV 3R lll4       tRt	Vt
V ;t# )ÚWebhookInfoa  This object represents a Telegram WebhookInfo.

Contains information about the current status of a webhook.

Objects of this class are comparable in terms of equality. Two objects of this class are
considered equal, if their :attr:`url`, :attr:`has_custom_certificate`,
:attr:`pending_update_count`, :attr:`ip_address`, :attr:`last_error_date`,
:attr:`last_error_message`, :attr:`max_connections`, :attr:`allowed_updates` and
:attr:`last_synchronization_error_date` are equal.

.. versionchanged:: 20.0
   :attr:`last_synchronization_error_date` is considered as well when comparing objects of
   this type in terms of equality.

Args:
    url (:obj:`str`): Webhook URL, may be empty if webhook is not set up.
    has_custom_certificate (:obj:`bool`): :obj:`True`, if a custom certificate was provided for
        webhook certificate checks.
    pending_update_count (:obj:`int`): Number of updates awaiting delivery.
    ip_address (:obj:`str`, optional): Currently used webhook IP address.
    last_error_date (:class:`datetime.datetime`): Optional. Datetime for the most recent
        error that happened when trying to deliver an update via webhook.

        .. versionchanged:: 20.3
            |datetime_localization|
    last_error_message (:obj:`str`, optional): Error message in human-readable format for the
        most recent error that happened when trying to deliver an update via webhook.
    max_connections (:obj:`int`, optional): Maximum allowed number of simultaneous HTTPS
        connections to the webhook for update delivery.
    allowed_updates (Sequence[:obj:`str`], optional): A sequence of update types the bot is
        subscribed to. Defaults to all update types, except
        :attr:`~telegram.Update.chat_member`, :attr:`~telegram.Update.message_reaction`,
        and :attr:`~telegram.Update.message_reaction_count`.

        .. versionchanged:: 20.0
            |sequenceclassargs|

    last_synchronization_error_date (:class:`datetime.datetime`, optional): Datetime of the
        most recent error that happened when trying to synchronize available updates with
        Telegram datacenters.

        .. versionadded:: 20.0

        .. versionchanged:: 20.3
            |datetime_localization|
Attributes:
    url (:obj:`str`): Webhook URL, may be empty if webhook is not set up.
    has_custom_certificate (:obj:`bool`): :obj:`True`, if a custom certificate was provided for
        webhook certificate checks.
    pending_update_count (:obj:`int`): Number of updates awaiting delivery.
    ip_address (:obj:`str`): Optional. Currently used webhook IP address.
    last_error_date (:class:`datetime.datetime`): Optional. Datetime for the most recent
        error that happened when trying to deliver an update via webhook.

        .. versionchanged:: 20.3
            |datetime_localization|
    last_error_message (:obj:`str`): Optional. Error message in human-readable format for the
        most recent error that happened when trying to deliver an update via webhook.
    max_connections (:obj:`int`): Optional. Maximum allowed number of simultaneous HTTPS
        connections to the webhook for update delivery.
    allowed_updates (tuple[:obj:`str`]): Optional. A tuple of update types the bot is
        subscribed to. Defaults to all update types, except
        :attr:`~telegram.Update.chat_member`, :attr:`~telegram.Update.message_reaction`,
        and :attr:`~telegram.Update.message_reaction_count`.

        .. versionchanged:: 20.0

            * |tupleclassattrs|
            * |alwaystuple|
    last_synchronization_error_date (:class:`datetime.datetime`, optional): Datetime of the
        most recent error that happened when trying to synchronize available updates with
        Telegram datacenters.

        .. versionadded:: 20.0

        .. versionchanged:: 20.3
            |datetime_localization|
NÚ
api_kwargsc                óð   <€ V ^8„  d   QhRS[ RS[RS[RS[P                  R,          RS[ R,          RS[R,          RS[S[ ,          R,          R	S[ R,          R
S[P                  R,          RS[R,          /
# )é   ÚurlÚhas_custom_certificateÚpending_update_countÚlast_error_dateNÚlast_error_messageÚmax_connectionsÚallowed_updatesÚ
ip_addressÚlast_synchronization_error_dater   )ÚstrÚboolÚintÚdtmÚdatetimer   r	   )ÚformatÚ__classdict__s   "€ÚK/opt/hermes-site/venv/lib/python3.14/site-packages/telegram/_webhookinfo.pyÚ__annotate__ÚWebhookInfo.__annotate__~   sš   ø€ ÷ (ñ (áð(ñ !%ð(ñ "ð	(ñ
 Ÿ™¨Õ,ð(ñ   $�Jð(ñ ˜t�ð(ñ "¡#�¨Õ-ð(ñ ˜$•Jð(ñ *-¯©¸Õ)<ð(ñ ˜t•Oñ(ó    c
          	     óœ  <€ \         SV `  V
R 7       Wn        W n        W0n        W€n        W@n        WPn        W`n        \        V4      V n
        W�n        V P                  V P                  V P                  V P
                  V P                  V P                  V P                  V P                  V P                  3	V n        V P                  4        R# ))r   N)ÚsuperÚ__init__r   r   r   r   r   r   r   r   r   r   Ú	_id_attrsÚ_freeze)Úselfr   r   r   r   r   r   r   r   r   r   Ú	__class__s   &&&&&&&&&&$€r    r&   ÚWebhookInfo.__init__~   sµ   ø€ ô 	‰Ñ JÐÔ/àŒØ,BÔ#Ø)=Ô!ð '1ŒØ4CÔØ.@ÔØ+:ÔÜ0BÀ?Ó0SˆÔØDcÔ,ð �H‰HØ×'Ñ'Ø×%Ñ%Ø�O‰OØ× Ñ Ø×#Ñ#Ø× Ñ Ø× Ñ Ø×0Ñ0ð

ˆŒð 	�‰Žr#   c                ó(   <€ V ^8„  d   QhRS[ RRRR/# )r   ÚdataÚbotz
Bot | NoneÚreturnr   r   )r   r   s   "€r    r!   r"   ©   s"   ø€ ÷ 3ñ 3™8ð 3¨,ð 3À-ñ 3r#   c                óØ   <€ V P                  V4      p\        V4      p\        VP                  R4      VR7      VR&   \        VP                  R4      VR7      VR&   \        SV `  WR7      # )z,See :meth:`telegram.TelegramObject.de_json`.r   )Útzinfor   )r-   r.   )Ú_parse_datar   r   Úgetr%   Úde_json)Úclsr-   r.   Ú
loc_tzinfor*   s   &&& €r    r4   ÚWebhookInfo.de_json¨   sn   ø€ ð �‰˜tÓ$ˆô 2°#Ó6ˆ
ä"0°·±Ð:KÓ1LÐU_Ô"`ˆÐÑÜ2@Ø�H‰HÐ6Ó7À
ô3
ˆÐ.Ñ/ô ‰w‰ DˆÓ2Ð2r#   )
r'   r   r   r   r   r   r   r   r   r   )	r   r   r   r   r   r   r   r   r   )NNNNNN)N)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__Ú	__slots__r&   Úclassmethodr4   Ú__static_attributes__Ú__classdictcell__Ú__classcell__)r*   r   s   @@r    r   r   "   sF   ù‡ € ñMð^
€Iñ(ð '+÷(ö (ðT ÷3ô 3ó ÷3ð 3r#   r   )r<   r   r   Úcollections.abcr   Útypingr   Útelegram._telegramobjectr   Útelegram._utils.argumentparsingr   Útelegram._utils.datetimer   r   Útelegram._utils.typesr	   Útelegramr
   r   © r#   r    Ú<module>rJ      s4   ðñ& Mã Ý $Ý  å 3Ý >ß QÝ *çÝôS3�.ö S3r#   