
    ՟f                     B    d Z ddlmZ ddlmZ ddlmZ  G d de      Zy)zJThis module contains an object that represents a Telegram ShippingAddress.    )Optional)TelegramObject)JSONDictc                   P     e Zd ZdZdZdddedededed	ed
edee   f fdZ xZ	S )ShippingAddressa  This object represents a Telegram ShippingAddress.

    Objects of this class are comparable in terms of equality. Two objects of this class are
    considered equal, if their  :attr:`country_code`, :attr:`state`, :attr:`city`,
    :attr:`street_line1`, :attr:`street_line2` and :attr:`post_code` are equal.

    Args:
        country_code (:obj:`str`): ISO 3166-1 alpha-2 country code.
        state (:obj:`str`): State, if applicable.
        city (:obj:`str`): City.
        street_line1 (:obj:`str`): First line for the address.
        street_line2 (:obj:`str`): Second line for the address.
        post_code (:obj:`str`): Address post code.

    Attributes:
        country_code (:obj:`str`): ISO 3166-1 alpha-2 country code.
        state (:obj:`str`): State, if applicable.
        city (:obj:`str`): City.
        street_line1 (:obj:`str`): First line for the address.
        street_line2 (:obj:`str`): Second line for the address.
        post_code (:obj:`str`): Address post code.

    )citycountry_code	post_codestatestreet_line1street_line2N
api_kwargsr	   r   r   r   r   r
   r   c                ,   t         |   |       || _        || _        || _        || _        || _        || _        | j                  | j                  | j                  | j
                  | j                  | j                  f| _        | j                          y )Nr   )
super__init__r	   r   r   r   r   r
   	_id_attrs_freeze)	selfr	   r   r   r   r   r
   r   	__class__s	           \/var/www/cvtools/html/venv/lib/python3.12/site-packages/telegram/_payment/shippingaddress.pyr   zShippingAddress.__init__=   s     	J/!-
	!-!-' JJIINN
 	    )
__name__
__module____qualname____doc__	__slots__strr   r   r   __classcell__)r   s   @r   r   r      sg    0I$ *.  	
    X& r   r   N)r   typingr   telegram._telegramobjectr   telegram._utils.typesr   r    r   r   <module>r$      s    & Q  3 *>n >r   