
    YPi_                     B    d Z ddlmZ ddlmZ ddlmZ  G d de      Zy)zOThis module contains an object that describes a price change of a paid message.    )Optional)TelegramObject)JSONDictc                   @     e Zd ZdZdZdddedee   ddf fdZ xZ	S )	PaidMessagePriceChangeda  Describes a service message about a change in the price of paid messages within a chat.

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

    .. versionadded:: 22.1

    Args:
        paid_message_star_count (:obj:`int`): The new number of Telegram Stars that must be paid by
            non-administrator users of the supergroup chat for each sent message

    Attributes:
        paid_message_star_count (:obj:`int`): The new number of Telegram Stars that must be paid by
            non-administrator users of the supergroup chat for each sent message
    )paid_message_star_countN
api_kwargsr   r
   returnc                x    t         |   |       || _        | j                  f| _        | j	                          y )Nr	   )super__init__r   	_id_attrs_freeze)selfr   r
   	__class__s      W/root/twitch_bot/venv/lib/python3.12/site-packages/telegram/_paidmessagepricechanged.pyr   z PaidMessagePriceChanged.__init__.   s6     	J/,C$668    )
__name__
__module____qualname____doc__	__slots__intr   r   r   __classcell__)r   s   @r   r   r      s?      -I *.	
!$
 X&	

 

 
r   r   N)r   typingr   telegram._telegramobjectr   telegram._utils.typesr   r    r   r   <module>r       s    & V  3 *n r   