U
    g
                     @   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 )zTThis module contains the classes that represent Telegram InputContactMessageContent.    )Optional)InputMessageContent)JSONDictc                       sF   e Zd ZdZdZdddeeee ee ee d fddZ  Z	S )	InputContactMessageContenta  Represents the content of a contact message to be sent as the result of an inline query.

    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.
        vcard (:obj:`str`, optional): Additional data about the contact in the form of a vCard,
            0-:tg-const:`telegram.constants.ContactLimit.VCARD` bytes.

    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.
        vcard (:obj:`str`): Optional. Additional data about the contact in the form of a vCard,
            0-:tg-const:`telegram.constants.ContactLimit.VCARD` bytes.

    )
first_name	last_namephone_numbervcardN
api_kwargs)r   r   r   r	   r   c             	      sH   t  j|d |  ( || _|| _|| _|| _| jf| _W 5 Q R X d S )Nr
   )super__init__Z	_unfrozenr   r   r   r	   Z	_id_attrs)selfr   r   r   r	   r   	__class__ O/tmp/pip-unpacked-wheel-swnnwir2/telegram/_inline/inputcontactmessagecontent.pyr   2   s    	
z#InputContactMessageContent.__init__)NN)
__name__
__module____qualname____doc__	__slots__strr   r   r   __classcell__r   r   r   r   r      s     r   N)r   typingr   Z$telegram._inline.inputmessagecontentr   Ztelegram._utils.typesr   r   r   r   r   r   <module>   s   