§
    ªeîi}  ã                   ó>   — d Z ddlmZ ddlmZ  G d„ de¦  «        ZdS )zFThis module contains an object that represents a Telegram user rating.é    )ÚTelegramObject)ÚJSONDictc                   óV   ‡ — e Zd ZdZdZ	 dddœdededededz  d	edz  d
dfˆ fd„Zˆ xZS )Ú
UserRatinga
  
    This object describes the rating of a user based on their Telegram Star spendings.

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

    .. versionadded:: 22.6

    Args:
        level (:obj:`int`): Current level of the user, indicating their reliability when purchasing
            digital goods and services. A higher level suggests a more trustworthy customer; a
            negative level is likely reason for concern.
        rating (:obj:`int`): Numerical value of the user's rating; the higher the rating, the
            better
        current_level_rating (:obj:`int`): The rating value required to get the current level
        next_level_rating (:obj:`int`, optional): The rating value required to get to the next
            level; omitted if the maximum level was reached

    Attributes:
        level (:obj:`int`): Current level of the user, indicating their reliability when purchasing
            digital goods and services. A higher level suggests a more trustworthy customer; a
            negative level is likely reason for concern.
        rating (:obj:`int`): Numerical value of the user's rating; the higher the rating, the
            better
        current_level_rating (:obj:`int`): The rating value required to get the current level
        next_level_rating (:obj:`int`): Optional. The rating value required to get to the next
            level; omitted if the maximum level was reached

    )Úcurrent_level_ratingÚlevelÚnext_level_ratingÚratingN©Ú
api_kwargsr   r
   r   r	   r   Úreturnc                óÒ   •— t          ¦   «                              |¬¦  «         || _        || _        || _        || _        | j        | j        f| _        |                      ¦   «          d S )Nr   )ÚsuperÚ__init__r   r
   r   r	   Ú	_id_attrsÚ_freeze)Úselfr   r
   r   r	   r   Ú	__class__s         €úX/home/div/.hermes/hermes-agent/venv/lib/python3.11/site-packages/telegram/_userrating.pyr   zUserRating.__init__:   s_   ø€ õ 	‰Œ×Ò JÐÑ/Ô/Ð/ØˆŒ
Ø!ˆŒØ)=ˆÔ!Ø->ˆÔàœ* d¤kÐ2ˆŒà�Š‰Œˆˆˆó    )N)	Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú	__slots__Úintr   r   Ú__classcell__)r   s   @r   r   r      sª   ø€ € € € € ðð ð< Q€Ið )-ðð '+ðð ð àðð ðð "ð	ð
  ™:ðð ˜t‘Oðð 
ðð ð ð ð ð ð ð ð ð r   r   N)r   Útelegram._telegramobjectr   Útelegram._utils.typesr   r   © r   r   ú<module>r!      sf   ðð& MÐ Là 3Ð 3Ð 3Ð 3Ð 3Ð 3Ø *Ð *Ð *Ð *Ð *Ð *ð2ð 2ð 2ð 2ð 2�ñ 2ô 2ð 2ð 2ð 2r   