
    ynh	                     n    d Z ddlmZ ddlmZmZ ddlmZ ddlm	Z	 ddl
mZ erddlmZ  G d d	e      Zy
)zIThis module contains an object that represents a Telegram ShippingOption.    )Sequence)TYPE_CHECKINGOptional)TelegramObject)parse_sequence_arg)JSONDict)LabeledPricec            
       J     e Zd ZdZdZdddededed   d	ee   f fd
Z	 xZ
S )ShippingOptiona  This object represents one shipping option.

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

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

    Args:
        id (:obj:`str`): Shipping option identifier.
        title (:obj:`str`): Option title.
        prices (Sequence[:class:`telegram.LabeledPrice`]): List of price portions.

            .. versionchanged:: 20.0
                |sequenceclassargs|

    Attributes:
        id (:obj:`str`): Shipping option identifier.
        title (:obj:`str`): Option title.
        prices (tuple[:class:`telegram.LabeledPrice`]): List of price portions.

            .. versionchanged:: 20.0
                |tupleclassattrs|

    )idpricestitleN
api_kwargsr   r   r   r	   r   c                    t         |   |       || _        || _        t	        |      | _        | j                  f| _        | j                          y )Nr   )super__init__r   r   r   r   	_id_attrs_freeze)selfr   r   r   r   	__class__s        a/var/www/html/profi_bot/bot/venv/lib/python3.12/site-packages/telegram/_payment/shippingoption.pyr   zShippingOption.__init__<   sE     	J/
0B60J''    )__name__
__module____qualname____doc__	__slots__strr   r   r   r   __classcell__)r   s   @r   r   r      sN    4 *I *.  (	 X& r   r   N)r   collections.abcr   typingr   r   telegram._telegramobjectr   telegram._utils.argumentparsingr   telegram._utils.typesr   telegramr	   r    r   r   <module>r(      s,   & P $ * 3 > *%-^ -r   