o
    "h^                     @   s<   d Z ddlmZ ddlmZ ddlmZ G dd deZdS )zOThis module contains an object that describes a price change of a paid message.    )Optional)TelegramObject)JSONDictc                       s<   e Zd ZdZdZdddedee ddf fdd	Z  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                   s*   t  j|d || _| jf| _|   d S )Nr   )super__init__r   	_id_attrs_freeze)selfr   r   	__class__ T/var/www/html/venv/lib/python3.10/site-packages/telegram/_paidmessagepricechanged.pyr   -   s   
z PaidMessagePriceChanged.__init__)
__name__
__module____qualname____doc__	__slots__intr   r   r   __classcell__r   r   r   r   r      s    r   N)r   typingr   telegram._telegramobjectr   telegram._utils.typesr   r   r   r   r   r   <module>   s
   