
    'io
                     6    d Z ddlmZ ddlmZ  G d de      Zy)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| _        | j                          y )Nr   )
super__init__strr	   r   r   r
   r   	_id_attrs_freeze)selfr	   r   r   r
   r   r   	__class__s          a/home/obispo/Crisostomo_bridge/mision_env/lib/python3.12/site-packages/telegram/_files/contact.pyr   zContact.__init__1   sW     	J/!$\!2)%.#*!&
++-    )NNN)
__name__
__module____qualname____doc__	__slots__r   intr   r   __classcell__)r   s   @r   r   r      sy    * PI !%"  '+  :	
 t Tz tO r   r   N)r   telegram._telegramobjectr   telegram._utils.typesr   r    r   r   <module>r"      s   & I 3 *-n -r   