Ë
    †jæ  ã                   óz   — d Z ddlmZmZ ddlmZ ddlmZ ddlm	Z	 ddl
mZ ddlmZ erddlmZ  G d	„ d
e	«      Zy)zWThis module contains an object that represents a location to which a chat is connected.é    )ÚTYPE_CHECKINGÚFinal)Ú	constants)ÚLocation)ÚTelegramObject)Úde_json_optional)ÚJSONDict)ÚBotc                   óà   ‡ — e Zd ZU dZdZddœdedededz  fˆ fd„Ze	dd	ed
ddd fˆ fd„«       Z
ej                  j                  Zee   ed<   	 ej                  j$                  Zee   ed<   ˆ xZS )ÚChatLocationa¦  This object represents a location to which a chat is connected.

    Objects of this class are comparable in terms of equality. Two objects of this class are
    considered equal, if their :attr:`location` is equal.

    Args:
        location (:class:`telegram.Location`): The location to which the supergroup is connected.
            Can't be a live location.
        address (:obj:`str`): Location address;
            :tg-const:`telegram.ChatLocation.MIN_ADDRESS`-
            :tg-const:`telegram.ChatLocation.MAX_ADDRESS` characters, as defined by the chat owner.
    Attributes:
        location (:class:`telegram.Location`): The location to which the supergroup is connected.
            Can't be a live location.
        address (:obj:`str`): Location address;
            :tg-const:`telegram.ChatLocation.MIN_ADDRESS`-
            :tg-const:`telegram.ChatLocation.MAX_ADDRESS` characters, as defined by the chat owner.

    )ÚaddressÚlocationN©Ú
api_kwargsr   r   r   c                ó†   •— t         ‰| �  |¬«       || _        || _        | j                  f| _        | j                  «        y )Nr   )ÚsuperÚ__init__r   r   Ú	_id_attrsÚ_freeze)Úselfr   r   r   Ú	__class__s       €úU/var/www/html/datingFans/myenv/lib/python3.12/site-packages/telegram/_chatlocation.pyr   zChatLocation.__init__8   s:   ø€ ô 	‰Ñ JÐÔ/Ø"*ˆŒØ#ˆŒàŸ-™-Ð)ˆŒà�‰�ó    ÚdataÚbotz
Bot | NoneÚreturnc                 óŽ   •— | j                  |«      }t        |j                  d«      t        |«      |d<   t        ‰| �  ||¬«      S )z,See :meth:`telegram.TelegramObject.de_json`.r   )r   r   )Ú_parse_datar   Úgetr   r   Úde_json)Úclsr   r   r   s      €r   r    zChatLocation.de_jsonG   sB   ø€ ð �‰˜tÓ$ˆä+¨D¯H©H°ZÓ,@Ä(ÈCÓPˆˆZÑä‰w‰ D¨cˆÓ2Ð2r   ÚMIN_ADDRESSÚMAX_ADDRESS)N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú	__slots__r   Ústrr	   r   Úclassmethodr    r   ÚLocationLimitÚMIN_CHAT_LOCATION_ADDRESSr"   r   ÚintÚ__annotations__ÚMAX_CHAT_LOCATION_ADDRESSr#   Ú__classcell__)r   s   @r   r   r   !   s¤   ø… ñð( (€Ið '+òàðð ðð
 ˜t‘Oõð ñ3˜8ð 3¨,ð 3À.ô 3ó ð3ð (×5Ñ5×OÑO€K��s‘ÓOðð (×5Ñ5×OÑO€K��s‘ÓOór   r   N)r'   Útypingr   r   Útelegramr   Útelegram._files.locationr   Útelegram._telegramobjectr   Útelegram._utils.argumentparsingr   Útelegram._utils.typesr	   r
   r   © r   r   ú<module>r8      s/   ðñ& ^ç 'å Ý -Ý 3Ý <Ý *áÝô8�>õ 8r   