
    dio
                     >    d Z ddlmZ ddlmZ  G d de          ZdS )zBThis module contains an object that represents a Telegram Contact.    )TelegramObject)JSONDictc                   f     e Zd ZdZdZ	 	 	 ddddedededz  dedz  d	edz  d
edz  f fdZ xZ	S )Contacta  This object represents a phone contact.

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

    Args:
        phone_number (:obj:`str`): Contact's phone number.
        first_name (:obj:`str`): Contact's first name.
        last_name (:obj:`str`, optional): Contact's last name.
        user_id (:obj:`int`, optional): Contact's user identifier in Telegram.
        vcard (:obj:`str`, optional): Additional data about the contact in the form of a vCard.

    Attributes:
        phone_number (:obj:`str`): Contact's phone number.
        first_name (:obj:`str`): Contact's first name.
        last_name (:obj:`str`): Optional. Contact's last name.
        user_id (:obj:`int`): Optional. Contact's user identifier in Telegram.
        vcard (:obj:`str`): Optional. Additional data about the contact in the form of a vCard.

    )
first_name	last_namephone_numberuser_idvcardN
api_kwargsr	   r   r   r
   r   r   c                    t                                          |           t          |          | _        || _        || _        || _        || _        | j        f| _        | 	                                 d S )Nr   )
super__init__strr	   r   r   r
   r   	_id_attrs_freeze)selfr	   r   r   r
   r   r   	__class__s          T/root/projects/qq-shell/venv/lib/python3.11/site-packages/telegram/_files/contact.pyr   zContact.__init__1   sj     	J///!$\!2!2)%.#*!&
+-    )NNN)
__name__
__module____qualname____doc__	__slots__r   intr   r   __classcell__)r   s   @r   r   r      s         * PI !%"  '+    :	
 t Tz tO         r   r   N)r   telegram._telegramobjectr   telegram._utils.typesr   r    r   r   <module>r"      sf   & I H 3 3 3 3 3 3 * * * * * *- - - - -n - - - - -r   