o
    "h
                     @   s<   d Z ddlmZ ddlmZ ddlmZ G dd deZdS )zBThis module contains an object that represents a Telegram Contact.    )Optional)TelegramObject)JSONDictc                       s\   e Zd ZdZdZ			ddddededee dee d	ee d
ee f fddZ	  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                   sF   t  j|d t|| _|| _|| _|| _|| _| jf| _| 	  d S )Nr   )
super__init__strr   r   r   r	   r
   	_id_attrs_freeze)selfr   r   r   r	   r
   r   	__class__ J/var/www/html/venv/lib/python3.10/site-packages/telegram/_files/contact.pyr   2   s   


zContact.__init__)NNN)__name__
__module____qualname____doc__	__slots__r   r   intr   r   __classcell__r   r   r   r   r      s*    r   N)r   typingr   telegram._telegramobjectr   telegram._utils.typesr   r   r   r   r   r   <module>   s
   