+
    ÁFñj1"  ã                   ó¸   € 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 ^ RIHt ^ RIHtHt ^ R	IHt ^ R
IHtHt ]'       d   ^ RIHt  ! R R]
4      tR# )zJThis module contains an object that represents a Telegram ChatJoinRequest.N)ÚTYPE_CHECKING)ÚChat)ÚChatInviteLink)ÚTelegramObject)ÚUser)Úde_json_optional)Úextract_tzinfo_from_defaultsÚfrom_timestamp)ÚDEFAULT_NONE)ÚJSONDictÚODVInput)Ú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]RV3R lV 3R lll4       tR]	R	]	R
]	R]	RR/V3R lR llt
R]	R	]	R
]	R]	RR/V3R lR lltRtVtV ;t# )ÚChatJoinRequestam  This object represents a join request sent to a chat.

Objects of this class are comparable in terms of equality. Two objects of this class are
considered equal, if their :attr:`chat`, :attr:`from_user` and :attr:`date` are equal.

Note:
    * Since Bot API 5.5, bots are allowed to contact users who sent a join request to a chat
      where the bot is an administrator with the
      :attr:`~telegram.ChatMemberAdministrator.can_invite_users` administrator right - even
      if the user never interacted with the bot before.
    * Telegram does not guarantee that :attr:`from_user.id <from_user>` coincides with the
      ``chat_id`` of the user. Please use :attr:`user_chat_id` to contact the user in
      response to their join request.

.. versionadded:: 13.8
.. versionchanged:: 20.1
   In Bot API 6.5 the argument :paramref:`user_chat_id` was added, which changes the position
   of the optional arguments :paramref:`bio` and :paramref:`invite_link`.

Args:
    chat (:class:`telegram.Chat`): Chat to which the request was sent.
    from_user (:class:`telegram.User`): User that sent the join request.
    date (:class:`datetime.datetime`): Date the request was sent.

        .. versionchanged:: 20.3
            |datetime_localization|
    user_chat_id (:obj:`int`): Identifier of a private chat with the user who sent the join
        request. This number may have more than 32 significant bits and some programming
        languages may have difficulty/silent defects in interpreting it. But it has at most 52
        significant bits, so a 64-bit integer or double-precision float type are safe for
        storing this identifier. The bot can use this identifier for 5 minutes to send messages
        until the join request is processed, assuming no other administrator contacted the
        user.

        .. versionadded:: 20.1
    bio (:obj:`str`, optional): Bio of the user.
    invite_link (:class:`telegram.ChatInviteLink`, optional): Chat invite link that was used
        by the user to send the join request.

Attributes:
    chat (:class:`telegram.Chat`): Chat to which the request was sent.
    from_user (:class:`telegram.User`): User that sent the join request.
    date (:class:`datetime.datetime`): Date the request was sent.

        .. versionchanged:: 20.3
            |datetime_localization|
    user_chat_id (:obj:`int`): Identifier of a private chat with the user who sent the join
        request. This number may have more than 32 significant bits and some programming
        languages may have difficulty/silent defects in interpreting it. But it has at most 52
        significant bits, so a 64-bit integer or double-precision float type are safe for
        storing this identifier. The bot can use this identifier for 5 minutes to send messages
        until the join request is processed, assuming no other administrator contacted the
        user.

        .. versionadded:: 20.1
    bio (:obj:`str`): Optional. Bio of the user.
    invite_link (:class:`telegram.ChatInviteLink`): Optional. Chat invite link that was used
        by the user to send the join request.

        Note:
            When a user joins a *public* group via an invite link, this attribute may not
            be present. However, this behavior is undocument and may be subject to change.
            See `this GitHub thread <https://github.com/tdlib/telegram-bot-api/issues/428>`_
            for some discussion.

NÚ
api_kwargsc                ó‚   <€ V ^8„  d   QhRS[ RS[RS[P                  RS[RS[R,          RS[R,          RS[R,          /# )	é   ÚchatÚ	from_userÚdateÚuser_chat_idÚbioNÚinvite_linkr   )r   r   ÚdtmÚdatetimeÚintÚstrr   r   )ÚformatÚ__classdict__s   "€ÚO/opt/hermes-site/venv/lib/python3.14/site-packages/telegram/_chatjoinrequest.pyÚ__annotate__ÚChatJoinRequest.__annotate__k   sb   ø€ ÷ ñ áðñ ðñ �l‰lð	ñ
 ðñ �4�Zðñ $ dÕ*ðñ ˜t•Oñó    c               óà   <€ \         SV `  VR 7       Wn        W n        W0n        W@n        WPn        W`n        V P                  V P                  V P                  3V n        V P                  4        R# ))r   N)
ÚsuperÚ__init__r   r   r   r   r   r   Ú	_id_attrsÚ_freeze)	Úselfr   r   r   r   r   r   r   Ú	__class__s	   &&&&&&&$€r   r%   ÚChatJoinRequest.__init__k   sZ   ø€ ô 	‰Ñ JÐÔ/àŒ	Ø(ŒØ"&Œ	Ø!-Ôð  #ŒØ2=ÔàŸ)™) T§^¡^°T·Y±YÐ?ˆŒà�‰Ž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ÐBSñ 3r"   c                óp  <€ V P                  V4      p\        V4      p\        VP                  R4      \        V4      VR&   \        VP                  RR4      \        V4      VR&   \        VP                  RR4      VR7      VR&   \        VP                  R4      \        V4      VR&   \        SV `)  WR7      # )	z,See :meth:`telegram.TelegramObject.de_json`.r   ÚfromNr   r   )Útzinfor   )r,   r-   )Ú_parse_datar   r   Úgetr   Úpopr   r	   r   r$   Úde_json)Úclsr,   r-   Ú
loc_tzinfor)   s   &&& €r   r5   ÚChatJoinRequest.de_json…   s¡   ø€ ð �‰˜tÓ$ˆô 2°#Ó6ˆ
ä'¨¯©°Ó(8¼$ÀÓDˆˆV‰Ü,¨T¯X©X°f¸dÓ-CÄTÈ3ÓOˆˆ[ÑÜ% d§h¡h¨v°tÓ&<ÀZÔPˆˆV‰Ü.¨t¯x©x¸Ó/FÌÐX[Ó\ˆˆ]Ñä‰w‰ DˆÓ2Ð2r"   Úread_timeoutÚwrite_timeoutÚconnect_timeoutÚpool_timeoutc                óŒ   <€ V ^8„  d   QhRS[ S[,          RS[ S[,          RS[ S[,          RS[ S[,          RS[R,          RS[/# ©r   r9   r:   r;   r<   r   Nr.   ©r   Úfloatr   Úbool)r   r   s   "€r   r    r!   ”   ó]   ø€ ÷ 
ñ 
ñ ™u•oð
ñ  ¡•ð	
ñ
 "¡%�ð
ñ ™u•oð
ñ ˜t•Oð
ñ 
ñ
r"   c          
   ƒ  óº   "  € V P                  4       P                  V P                  P                  V P                  P                  VVVVVR7      G Rj  x€L
 #  L5i)a@  Shortcut for::

    await bot.approve_chat_join_request(
        chat_id=update.effective_chat.id, user_id=update.effective_user.id, *args, **kwargs
    )

For the documentation of the arguments, please see
:meth:`telegram.Bot.approve_chat_join_request`.

Returns:
    :obj:`bool`: On success, :obj:`True` is returned.

©Úchat_idÚuser_idr9   r:   r;   r<   r   N)Úget_botÚapprove_chat_join_requestr   Úidr   ©r(   r9   r:   r;   r<   r   s   &$$$$$r   ÚapproveÚChatJoinRequest.approve”   óV   é € ð, —\‘\“^×=Ñ=Ø—I‘I—L‘LØ—N‘N×%Ñ%Ø%Ø'Ø+Ø%Ø!ð >ó 
÷ 
ð 	
ñ 
ùó   ‚AAÁAÁAc                óŒ   <€ V ^8„  d   QhRS[ S[,          RS[ S[,          RS[ S[,          RS[ S[,          RS[R,          RS[/# r>   r?   )r   r   s   "€r   r    r!   ´   rB   r"   c          
   ƒ  óº   "  € V P                  4       P                  V P                  P                  V P                  P                  VVVVVR7      G Rj  x€L
 #  L5i)a@  Shortcut for::

    await bot.decline_chat_join_request(
        chat_id=update.effective_chat.id, user_id=update.effective_user.id, *args, **kwargs
    )

For the documentation of the arguments, please see
:meth:`telegram.Bot.decline_chat_join_request`.

Returns:
    :obj:`bool`: On success, :obj:`True` is returned.

rD   N)rG   Údecline_chat_join_requestr   rI   r   rJ   s   &$$$$$r   ÚdeclineÚChatJoinRequest.decline´   rM   rN   )r&   r   r   r   r   r   r   )r   r   r   r   r   r   )NN)N)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__Ú	__slots__r%   Úclassmethodr5   r
   rK   rR   Ú__static_attributes__Ú__classdictcell__Ú__classcell__)r)   r   s   @@r   r   r   %   s¿   ù‡ € ñAðF T€Iñð '+÷ö ð4 ÷3ô 3ó ð3ð
ð )5ð
ð *6ð	
ð
 ,8ð
ð )5ð
ð '+÷
ò 
ð@
ð )5ð
ð *6ð	
ð
 ,8ð
ð )5ð
ð '+÷
÷ 
ò 
r"   r   )rX   r   r   Útypingr   Útelegram._chatr   Útelegram._chatinvitelinkr   Útelegram._telegramobjectr   Útelegram._userr   Útelegram._utils.argumentparsingr   Útelegram._utils.datetimer   r	   Útelegram._utils.defaultvaluer
   Útelegram._utils.typesr   r   Útelegramr   r   © r"   r   Ú<module>ri      s=   ðñ& Qã Ý  å Ý 3Ý 3Ý Ý <ß QÝ 5ß 4çÝôm
�nö m
r"   