+
    ÁFñjÍ   ã                   óœ   € R t ^ RIt^ RIHt ^ RIHt ^ RIHt ^ RI	H
t
Ht ^ RIHtHtHt ^ RIHtHt ]'       d   ^ RIHt  ! R	 R
]4      tR# )zIThis module contains an object that represents an invite link for a chat.N)ÚTYPE_CHECKING)ÚTelegramObject)ÚUser)Úde_json_optionalÚto_timedelta)Úextract_tzinfo_from_defaultsÚfrom_timestampÚget_timedelta_value)ÚJSONDictÚ
TimePeriod)ÚBotc                   ó”   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]V3R lR l4       t]	RV3R lV 3R	 lll4       t
R
tVtV ;t# )ÚChatInviteLinku`  This object represents an invite link for a chat.

Objects of this class are comparable in terms of equality. Two objects of this class are
considered equal, if their :attr:`invite_link`, :attr:`creator`, :attr:`creates_join_request`,
:attr:`is_primary` and :attr:`is_revoked` are equal.

.. versionadded:: 13.4
.. versionchanged:: 20.0

   * The argument & attribute :attr:`creates_join_request` is now required to comply with the
     Bot API.
   * Comparing objects of this class now also takes :attr:`creates_join_request` into account.

Args:
    invite_link (:obj:`str`): The invite link.
    creator (:class:`telegram.User`): Creator of the link.
    creates_join_request (:obj:`bool`): :obj:`True`, if users joining the chat via
        the link need to be approved by chat administrators.

        .. versionadded:: 13.8
    is_primary (:obj:`bool`): :obj:`True`, if the link is primary.
    is_revoked (:obj:`bool`): :obj:`True`, if the link is revoked.
    expire_date (:class:`datetime.datetime`, optional): Date when the link will expire or
        has been expired.

        .. versionchanged:: 20.3
            |datetime_localization|
    member_limit (:obj:`int`, optional): Maximum number of users that can be members of the
        chat simultaneously after joining the chat via this invite link;
        :tg-const:`telegram.constants.ChatInviteLinkLimit.MIN_MEMBER_LIMIT`-
        :tg-const:`telegram.constants.ChatInviteLinkLimit.MAX_MEMBER_LIMIT`.
    name (:obj:`str`, optional): Invite link name.
        0-:tg-const:`telegram.constants.ChatInviteLinkLimit.NAME_LENGTH` characters.

        .. versionadded:: 13.8
    pending_join_request_count (:obj:`int`, optional): Number of pending join requests
        created using this link.

        .. versionadded:: 13.8
    subscription_period (:obj:`int` | :class:`datetime.timedelta`, optional): The number of
        seconds the subscription will be active for before the next payment.

        .. versionadded:: 21.5

        .. versionchanged:: v22.2
            |time-period-input|
    subscription_price (:obj:`int`, optional): The amount of Telegram Stars a user must pay
        initially and after each subsequent subscription period to be a member of the chat
        using the link.

        .. versionadded:: 21.5

Attributes:
    invite_link (:obj:`str`): The invite link. If the link was created by another chat
        administrator, then the second part of the link will be replaced with ``'â€¦'``.
    creator (:class:`telegram.User`): Creator of the link.
    creates_join_request (:obj:`bool`): :obj:`True`, if users joining the chat via
        the link need to be approved by chat administrators.

        .. versionadded:: 13.8
    is_primary (:obj:`bool`): :obj:`True`, if the link is primary.
    is_revoked (:obj:`bool`): :obj:`True`, if the link is revoked.
    expire_date (:class:`datetime.datetime`): Optional. Date when the link will expire or
        has been expired.

        .. versionchanged:: 20.3
            |datetime_localization|
    member_limit (:obj:`int`): Optional. Maximum number of users that can be members
        of the chat simultaneously after joining the chat via this invite link;
        :tg-const:`telegram.constants.ChatInviteLinkLimit.MIN_MEMBER_LIMIT`-
        :tg-const:`telegram.constants.ChatInviteLinkLimit.MAX_MEMBER_LIMIT`.
    name (:obj:`str`): Optional. Invite link name.
        0-:tg-const:`telegram.constants.ChatInviteLinkLimit.NAME_LENGTH` characters.

        .. versionadded:: 13.8
    pending_join_request_count (:obj:`int`): Optional. Number of pending join requests
        created using this link.

        .. versionadded:: 13.8
    subscription_period (:obj:`int` | :class:`datetime.timedelta`): Optional. The number of
        seconds the subscription will be active for before the next payment.

        .. versionadded:: 21.5

        .. deprecated:: v22.2
            |time-period-int-deprecated|
    subscription_price (:obj:`int`): Optional. The amount of Telegram Stars a user must pay
        initially and after each subsequent subscription period to be a member of the chat
        using the link.

        .. versionadded:: 21.5

NÚ
api_kwargsc                óØ   <€ V ^8„  d   QhRS[ RS[RS[RS[RS[RS[P                  R,          RS[R,          R	S[ R,          R
S[R,          RS[R,          RS[R,          RS[R,          /# )é   Úinvite_linkÚcreatorÚcreates_join_requestÚ
is_primaryÚ
is_revokedÚexpire_dateNÚmember_limitÚnameÚpending_join_request_countÚsubscription_periodÚsubscription_pricer   )Ústrr   ÚboolÚdtmÚdatetimeÚintr   r
   )ÚformatÚ__classdict__s   "€ÚN/opt/hermes-site/venv/lib/python3.14/site-packages/telegram/_chatinvitelink.pyÚ__annotate__ÚChatInviteLink.__annotate__“   s¥   ø€ ÷ *ñ *áð*ñ ð*ñ #ð	*ñ
 ð*ñ ð*ñ —\‘\ DÕ(ð*ñ ˜D•jð*ñ �D�jð*ñ %(¨$¥Jð*ñ (¨$Õ.ð*ñ   $�Jð*ñ ˜t•Oñ*ó    c               ó|  <€ \         SV `  VR 7       Wn        W n        W0n        W@n        WPn        W`n        Wpn        W€n	        V	e   \        V	4      MRV n        \        V
4      V n        W°n        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   r   Ú_subscription_periodr   Ú	_id_attrsÚ_freeze)Úselfr   r   r   r   r   r   r   r   r   r   r   r   Ú	__class__s   &&&&&&&&&&&&$€r$   r*   ÚChatInviteLink.__init__“   s°   ø€ ô  	‰Ñ JÐÔ/à +ÔØ$ŒØ*>Ô!Ø *ŒØ *Œð 1<ÔØ(4ÔØ $Œ	à/IÒ/UŒCÐ*Ô+Ð[_ð 	Ô'ô ;GÐGZÓ:[ˆÔ!Ø.@Ôð ×ÑØ×%Ñ%Ø�L‰LØ�O‰OØ�O‰Oð
ˆŒð 	�‰Žr'   c                óR   <€ V ^8„  d   QhRS[ S[P                  ,          R,          /# )r   ÚreturnN)r!   r   Ú	timedelta)r"   r#   s   "€r$   r%   r&   À   s%   ø€ ÷ _ñ _¡S©3¯=©=Õ%8¸4Õ%?ñ _r'   c                ó0   € \        V P                  R R7      # )r   )Ú	attribute)r	   r+   )r.   s   &r$   r   Ú"ChatInviteLink.subscription_period¿   s   € ä" 4×#<Ñ#<ÐH]Ô^Ð^r'   c                ó(   <€ V ^8„  d   QhRS[ RRRR/# )r   ÚdataÚbotz
Bot | Noner2   r   )r
   )r"   r#   s   "€r$   r%   r&   Ä   s#   ø€ ÷ 
3ñ 
3™8ð 
3¨,ð 
3ÐBRñ 
3r'   c                óâ   <€ V P                  V4      p\        V4      p\        VP                  R4      \        V4      VR&   \        VP                  RR4      VR7      VR&   \        SV `  WR7      # )z,See :meth:`telegram.TelegramObject.de_json`.r   r   N)Útzinfo)r8   r9   )Ú_parse_datar   r   Úgetr   r   r)   Úde_json)Úclsr8   r9   Ú
loc_tzinfor/   s   &&& €r$   r>   ÚChatInviteLink.de_jsonÃ   sh   ø€ ð �‰˜tÓ$ˆô 2°#Ó6ˆ
ä*¨4¯8©8°IÓ+>ÄÀcÓJˆˆY‰Ü,¨T¯X©X°mÀTÓ-JÐS]Ô^ˆˆ]Ñä‰w‰ DˆÓ2Ð2r'   )r,   r+   r   r   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*   Úpropertyr   Úclassmethodr>   Ú__static_attributes__Ú__classdictcell__Ú__classcell__)r/   r#   s   @@r$   r   r   &   s\   ù‡ € ñ\ð|€Iñ*ð '+÷*ö *ðX ÷_ó ð_ð ÷
3ô 
3ó ÷
3ð 
3r'   r   )rF   r    r   Útypingr   Útelegram._telegramobjectr   Útelegram._userr   Útelegram._utils.argumentparsingr   r   Útelegram._utils.datetimer   r   r	   Útelegram._utils.typesr
   r   Útelegramr   r   © r'   r$   Ú<module>rU      s=   ðñ& Pã Ý  å 3Ý ß J÷ñ ÷
 7çÝôh3�^ö h3r'   