
    Yi
                     B    S r SSKJr  SSKJr  SSKJr   " S S\5      rg)zGThis module contains an object that represents a Telegram LabeledPrice.    )Optional)TelegramObject)JSONDictc                   N   ^  \ rS rSrSrSrSS.S\S\S\\	   4U 4S	 jjjr
S
rU =r$ )LabeledPrice   a  This object represents a portion of the price for goods or services.

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

Examples:
    :any:`Payment Bot <examples.paymentbot>`

Args:
    label (:obj:`str`): Portion label.
    amount (:obj:`int`): Price of the product in the smallest units of the currency (integer,
        **not** float/double). For example, for a price of ``US$ 1.45`` pass ``amount = 145``.
        See the ``exp`` parameter in
        `currencies.json <https://core.telegram.org/bots/payments/currencies.json>`_,
        it shows the number of digits past the decimal point for each currency
        (2 for the majority of currencies).

Attributes:
    label (:obj:`str`): Portion label.
    amount (:obj:`int`): Price of the product in the smallest units of the currency (integer,
        **not** float/double). For example, for a price of ``US$ 1.45`` pass ``amount = 145``.
        See the ``exp`` parameter in
        `currencies.json <https://core.telegram.org/bots/payments/currencies.json>`_,
        it shows the number of digits past the decimal point for each currency
        (2 for the majority of currencies).

)amountlabelN
api_kwargsr
   r	   r   c                   > [         TU ]  US9  Xl        X l        U R                  U R                  4U l        U R                  5         g )Nr   )super__init__r
   r	   	_id_attrs_freeze)selfr
   r	   r   	__class__s       I/app/.venv/lib/python3.13/site-packages/telegram/_payment/labeledprice.pyr   LabeledPrice.__init__:   s:    J/
!**dkk2    )r   r	   r
   )__name__
__module____qualname____firstlineno____doc__	__slots__strintr   r   r   __static_attributes____classcell__)r   s   @r   r   r      s6    8 $ITX c 3 x?Q  r   r   N)r   typingr   telegram._telegramobjectr   telegram._utils.typesr   r    r   r   <module>r%      s    & N  3 *&> &r   