Ë
    :É„j  ã                   ó8   — d dl mZ d dlZd dlmZ  G d„ d«      Zy)é    )ÚUnionN)Úrawc            	       óZ   — e Zd Z	 ddddedeeef   dej                  j                  fd„Z	y)	Ú
GetBotInfoNÚselfzpyrogram.ClientÚ	lang_codeÚbotÚreturnc              ƒ   ó"  K  — d}|r| j                  |«      ƒ d{  –—† }| j                  t        j                  j                  j                  ||¬«      «      ƒ d{  –—† }t        j                  j                  j                  |«      S 7 Œo7 Œ/­w)a÷  Get the bot info in given language.

        .. include:: /_includes/usable-by/users-bots.rst

        Note:
            For normal bot you can only use this method to self.
            For userbot you can only use this method if you are the owner of target bot.

        Parameters:
            lang_code ``str``:
                A two-letter ISO 639-1 language code.
            bot (``int`` | ``str``, *optional*):
                Unique identifier (int) or username (str) of the target bot.
        N)r   r	   )
Úresolve_peerÚinvoker   Ú	functionsÚbotsr   ÚpyrogramÚtypesÚBotInfoÚ_parse)r   r   r	   ÚpeerÚrs        úY/var/www/html/GAP/venv/lib/python3.12/site-packages/pyrogram/methods/bots/get_bot_info.pyÚget_bot_infozGetBotInfo.get_bot_info   ss   è ø€ ð& ˆÙØ×*Ñ*¨3Ó/×/ˆDØ—+‘+œcŸm™m×0Ñ0×;Ñ;ÀiÐUYÐ;ÓZÓ[×[ˆÜ�~‰~×%Ñ%×,Ñ,¨QÓ/Ð/ð 0øØ[ús"   ‚B›BœABÁBÁ.BÂB)N)
Ú__name__Ú
__module__Ú__qualname__Ústrr   Úintr   r   r   r   © ó    r   r   r      sB   „ ð  $ñ0Øð0àð0ð �3˜�8‰_ð0ð 
�‰×	Ñ	ô	0r   r   )Útypingr   r   r   r   r   r   r   ú<module>r       s   ðõ& ã Ý ÷0ò 0r   