§
    ¬eîiP
  ã                   ó>   — d Z ddlmZ ddlmZ  G d„ de¦  «        ZdS )zEThis module contains an object that represents a Telegram StarAmount.é    )ÚTelegramObject)ÚJSONDictc            	       óJ   ‡ — e Zd ZdZdZ	 d	ddœdededz  dedz  fˆ fd„Zˆ xZS )
Ú
StarAmounta›  Describes an amount of Telegram Stars.

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

    Args:
        amount (:obj:`int`): Integer amount of Telegram Stars, rounded to ``0``; can be negative.
        nanostar_amount (:obj:`int`, optional): The number of
            :tg-const:`telegram.constants.Nanostar.VALUE` shares of Telegram
            Stars; from :tg-const:`telegram.constants.NanostarLimit.MIN_AMOUNT`
            to :tg-const:`telegram.constants.NanostarLimit.MAX_AMOUNT`; can be
            negative if and only if :attr:`amount` is non-positive.

    Attributes:
        amount (:obj:`int`): Integer amount of Telegram Stars, rounded to ``0``; can be negative.
        nanostar_amount (:obj:`int`): Optional. The number of
            :tg-const:`telegram.constants.Nanostar.VALUE` shares of Telegram
            Stars; from :tg-const:`telegram.constants.NanostarLimit.MIN_AMOUNT`
            to :tg-const:`telegram.constants.NanostarLimit.MAX_AMOUNT`; can be
            negative if and only if :attr:`amount` is non-positive.

    )ÚamountÚnanostar_amountN©Ú
api_kwargsr   r   r
   c                ó¶   •— t          ¦   «                              |¬¦  «         || _        || _        | j        | j        f| _        |                      ¦   «          d S )Nr	   )ÚsuperÚ__init__r   r   Ú	_id_attrsÚ_freeze)Úselfr   r   r
   Ú	__class__s       €úf/home/div/.hermes/hermes-agent/venv/lib/python3.11/site-packages/telegram/_payment/stars/staramount.pyr   zStarAmount.__init__3   sQ   ø€ õ 	‰Œ×Ò JÐÑ/Ô/Ð/Ø!ˆŒØ+:ˆÔàœ+ tÔ';Ð<ˆŒà�Š‰Œˆˆˆó    )N)	Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú	__slots__Úintr   r   Ú__classcell__)r   s   @r   r   r      s‹   ø€ € € € € ðð ð. .€Ið
 '+ðð
 '+ðð ð àðð ˜t™ðð
 ˜t‘Oðð ð ð ð ð ð ð ð ð r   r   N)r   Útelegram._telegramobjectr   Útelegram._utils.typesr   r   © r   r   ú<module>r      sf   ðð& LÐ Kà 3Ð 3Ð 3Ð 3Ð 3Ð 3Ø *Ð *Ð *Ð *Ð *Ð *ð'ð 'ð 'ð 'ð '�ñ 'ô 'ð 'ð 'ð 'r   