
    di	                     r    d Z ddlmZ ddl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.    )Sequence)TYPE_CHECKING)TelegramObject)parse_sequence_arg)JSONDict)LabeledPricec            
       P     e Zd ZdZdZdddededed         d	edz  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        ]/root/projects/qq-shell/venv/lib/python3.11/site-packages/telegram/_payment/shippingoption.pyr   zShippingOption.__init__=   sY     	J///
0B60J0J'    )
__name__
__module____qualname____doc__	__slots__strr   r   r   __classcell__)r   s   @r   r
   r
       s         4 *I '+    (	 tO         r   r
   N)r   collections.abcr   typingr   telegram._telegramobjectr   telegram._utils.argumentparsingr   telegram._utils.typesr   telegramr   r
    r   r   <module>r'      s   & P O $ $ $ $ $ $             3 3 3 3 3 3 > > > > > > * * * * * * &%%%%%%- - - - -^ - - - - -r   