§
    êd×ic  ã                   ór   — d Z ddlmZ ddlmZ ddlmZ ddlmZ ddl	m
Z
 erddlmZ  G d„ d	e¦  «        Zd
S )zRThis module contains the classes that represent Telegram InlineQueryResultContact.é    )ÚTYPE_CHECKING)ÚInlineKeyboardMarkup)ÚInlineQueryResult)ÚJSONDict)ÚInlineQueryResultType)ÚInputMessageContentc                   ó”   ‡ — e Zd ZdZdZ	 	 	 	 	 	 	 dddœdededededz  d	edz  d
ddedz  dedz  dedz  dedz  dedz  fˆ fd„Z	ˆ xZ
S )ÚInlineQueryResultContacta’
  
    Represents a contact with a phone number. By default, this contact will be sent by the user.
    Alternatively, you can use :attr:`input_message_content` to send a message with the specified
    content instead of the contact.

    .. versionchanged:: 20.5
        |removed_thumb_wildcard_note|

    Args:
        id (:obj:`str`): Unique identifier for this result,
            :tg-const:`telegram.InlineQueryResult.MIN_ID_LENGTH`-
            :tg-const:`telegram.InlineQueryResult.MAX_ID_LENGTH` Bytes.
        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.
        reply_markup (:class:`telegram.InlineKeyboardMarkup`, optional): Inline keyboard attached
            to the message.
        input_message_content (:class:`telegram.InputMessageContent`, optional): Content of the
            message to be sent instead of the contact.
        thumbnail_url (:obj:`str`, optional): Url of the thumbnail for the result.

            .. versionadded:: 20.2
        thumbnail_width (:obj:`int`, optional): Thumbnail width.

            .. versionadded:: 20.2
        thumbnail_height (:obj:`int`, optional): Thumbnail height.

            .. versionadded:: 20.2

    Attributes:
        type (:obj:`str`): :tg-const:`telegram.constants.InlineQueryResultType.CONTACT`.
        id (:obj:`str`): Unique identifier for this result,
            :tg-const:`telegram.InlineQueryResult.MIN_ID_LENGTH`-
            :tg-const:`telegram.InlineQueryResult.MAX_ID_LENGTH` Bytes.
        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.
        reply_markup (:class:`telegram.InlineKeyboardMarkup`): Optional. Inline keyboard attached
            to the message.
        input_message_content (:class:`telegram.InputMessageContent`): Optional. Content of the
            message to be sent instead of the contact.
        thumbnail_url (:obj:`str`): Optional. Url of the thumbnail for the result.

            .. versionadded:: 20.2
        thumbnail_width (:obj:`int`): Optional. Thumbnail width.

            .. versionadded:: 20.2
        thumbnail_height (:obj:`int`): Optional. Thumbnail height.

            .. versionadded:: 20.2

    )	Ú
first_nameÚinput_message_contentÚ	last_nameÚphone_numberÚreply_markupÚthumbnail_heightÚthumbnail_urlÚthumbnail_widthÚvcardN©Ú
api_kwargsÚidr   r   r   r   r   zInputMessageContent | Noner   r   r   r   r   c                ó<  •— t          ¦   «                              t          j        ||¬¦  «         |                      ¦   «         5  || _        || _        || _        || _        || _	        || _
        || _        |	| _        |
| _        d d d ¦  «         d S # 1 swxY w Y   d S )Nr   )ÚsuperÚ__init__r   ÚCONTACTÚ	_unfrozenr   r   r   r   r   r   r   r   r   )Úselfr   r   r   r   r   r   r   r   r   r   r   Ú	__class__s               €úf/root/projects/qq-shell/venv/lib/python3.11/site-packages/telegram/_inline/inlinequeryresultcontact.pyr   z!InlineQueryResultContact.__init__f   s÷   ø€ õ  	‰Œ×ÒÕ.Ô6¸ÀzÐÑRÔRÐRØ^Š^ÑÔð 	Að 	AØ%1ˆDÔØ#-ˆDŒOð *3ˆDŒNØ%*ˆDŒJØ=IˆDÔØEZˆDÔ&Ø-:ˆDÔØ/>ˆDÔ Ø0@ˆDÔ!ð	Að 	Að 	Añ 	Aô 	Að 	Að 	Að 	Að 	Að 	Að 	Að 	Aøøøð 	Að 	Að 	Að 	Að 	Að 	As   ÁA BÂBÂB)NNNNNNN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú	__slots__Ústrr   Úintr   r   Ú__classcell__)r   s   @r   r
   r
       s  ø€ € € € € ð7ð 7ðr
€Ið" !%Ø48Ø>BØ Ø$(Ø&*Ø'+ðAð '+ðAð Að AàðAð ðAð ð	Að
 ˜‘:ðAð +¨TÑ1ðAð  <ðAð T‰zðAð ˜T‘zðAð ˜t™ðAð  ™*ðAð ˜t‘OðAð Að Að Að Að Að Að Að Að Aó    r
   N)r"   Útypingr   Ú%telegram._inline.inlinekeyboardmarkupr   Ú"telegram._inline.inlinequeryresultr   Útelegram._utils.typesr   Útelegram.constantsr   Útelegramr   r
   © r'   r   ú<module>r/      sË   ðð& YÐ Xà  Ð  Ð  Ð  Ð  Ð  à FÐ FÐ FÐ FÐ FÐ FØ @Ð @Ð @Ð @Ð @Ð @Ø *Ð *Ð *Ð *Ð *Ð *Ø 4Ð 4Ð 4Ð 4Ð 4Ð 4àð -Ø,Ð,Ð,Ð,Ð,Ð,ðbAð bAð bAð bAð bAÐ0ñ bAô bAð bAð bAð bAr'   