§
    øÐßiš  ã                   ó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	  G d„ de¦  «        Z
dS )	zCThis module contains an object that represents a Telegram Location.é    )ÚFinalÚOptional)Ú	constants)ÚTelegramObject)ÚJSONDictc                   ó   ‡ — e Zd ZU dZdZ	 	 	 	 dddœdededee         dee         d	ee         d
ee         dee         fˆ fd„Z	e
j        j        Zee         ed<   	 e
j        j        Zee         ed<   	 e
j        j        Zee         ed<   ˆ xZS )ÚLocationa!  This object represents a point on the map.

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

    Args:
        longitude (:obj:`float`): Longitude as defined by sender.
        latitude (:obj:`float`): Latitude as defined by sender.
        horizontal_accuracy (:obj:`float`, optional): The radius of uncertainty for the location,
            measured in meters; 0-:tg-const:`telegram.Location.HORIZONTAL_ACCURACY`.
        live_period (:obj:`int`, optional): Time relative to the message sending date, during which
            the location can be updated, in seconds. For active live locations only.
        heading (:obj:`int`, optional): The direction in which user is moving, in degrees;
            :tg-const:`telegram.Location.MIN_HEADING`-:tg-const:`telegram.Location.MAX_HEADING`.
            For active live locations only.
        proximity_alert_radius (:obj:`int`, optional): Maximum distance for proximity alerts about
            approaching another chat member, in meters. For sent live locations only.

    Attributes:
        longitude (:obj:`float`): Longitude as defined by sender.
        latitude (:obj:`float`): Latitude as defined by sender.
        horizontal_accuracy (:obj:`float`): Optional. The radius of uncertainty for the location,
            measured in meters; 0-:tg-const:`telegram.Location.HORIZONTAL_ACCURACY`.
        live_period (:obj:`int`): Optional. Time relative to the message sending date, during which
            the location can be updated, in seconds. For active live locations only.
        heading (:obj:`int`): Optional. The direction in which user is moving, in degrees;
            :tg-const:`telegram.Location.MIN_HEADING`-:tg-const:`telegram.Location.MAX_HEADING`.
            For active live locations only.
        proximity_alert_radius (:obj:`int`): Optional. Maximum distance for proximity alerts about
            approaching another chat member, in meters. For sent live locations only.

    )ÚheadingÚhorizontal_accuracyÚlatitudeÚlive_periodÚ	longitudeÚproximity_alert_radiusN©Ú
api_kwargsr   r   r   r   r
   r   r   c                ó  •— t          ¦   «                              |¬¦  «         || _        || _        || _        || _        || _        |rt          |¦  «        nd | _        | j        | j        f| _	        |  
                    ¦   «          d S )Nr   )ÚsuperÚ__init__r   r   r   r   r
   Úintr   Ú	_id_attrsÚ_freeze)	Úselfr   r   r   r   r
   r   r   Ú	__class__s	           €ú^/var/www/html/crypto-bot/backend/venv/lib/python3.11/site-packages/telegram/_files/location.pyr   zLocation.__init__G   s‰   ø€ õ 	‰Œ×Ò JÐÑ/Ô/Ð/à )ˆŒØ'ˆŒð 5HˆÔ Ø*5ˆÔØ&-ˆŒà+AÐKCÐ&Ñ'Ô'Ð'Àtð 	Ô#ð œ.¨$¬-Ð8ˆŒàŠ‰Œˆˆˆó    ÚHORIZONTAL_ACCURACYÚMIN_HEADINGÚMAX_HEADING)NNNN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú	__slots__Úfloatr   r   r   r   r   ÚLocationLimitr   r   Ú__annotations__r   r   Ú__classcell__)r   s   @r   r	   r	      s+  ø€ € € € € € ðð ðB€Ið 04Ø%)Ø!%Ø04ðð *.ðð ð àðð ðð & eœ_ð	ð
 ˜c”]ðð ˜#”ðð !)¨¤ðð ˜XÔ&ðð ð ð ð ð ð8 '0Ô&=Ô&QÐ˜˜sœÐQÐQÑQðð (Ô5ÔA€Ks”ÐAÐAÑAðð (Ô5ÔA€Ks”ÐAÐAÑAðð ð ð r   r	   N)r"   Útypingr   r   Útelegramr   Útelegram._telegramobjectr   Útelegram._utils.typesr   r	   © r   r   ú<module>r-      sš   ðð& JÐ Ià "Ð "Ð "Ð "Ð "Ð "Ð "Ð "à Ð Ð Ð Ð Ð Ø 3Ð 3Ð 3Ð 3Ð 3Ð 3Ø *Ð *Ð *Ð *Ð *Ð *ðUð Uð Uð Uð Uˆ~ñ Uô Uð Uð Uð Ur   