
    i	                     r    d Z ddlmZmZ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d	S )
zIThis module contains an object that represents a Telegram ShippingOption.    )TYPE_CHECKINGOptionalSequenceTuple)TelegramObject)parse_sequence_arg)JSONDict)LabeledPricec            
       V     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| _        |                                  d S )Nr   )super__init__r   r   r   r   	_id_attrs_freeze)selfr   r   r   r   	__class__s        f/var/www/html/crypto-bot/backend/venv/lib/python3.11/site-packages/telegram/_payment/shippingoption.pyr   zShippingOption.__init__;   sY     	J///
0B60J0J'    )__name__
__module____qualname____doc__	__slots__strr   r   r	   r   __classcell__)r   s   @r   r   r      s         4 *I *.    (	 X&         r   r   N)r   typingr   r   r   r   telegram._telegramobjectr   telegram._utils.argumentparsingr   telegram._utils.typesr	   telegramr
   r    r   r   <module>r(      s   & P O ; ; ; ; ; ; ; ; ; ; ; ; 3 3 3 3 3 3 > > > > > > * * * * * * &%%%%%%- - - - -^ - - - - -r   