
    i"                         S SK r S SKJr  S SKJrJrJr  S SKrS SKJrJrJ	r	J
r
  \ R                  " \5      r " S S5      rg)    N)datetime)ListOptionalUnion)enumsrawtypesutilsc            3           \ rS rSr                    S%SSS\\\4   S\S\S\S	\S
\S\S\S\SSSSS\S\S\S\S\S\S   S\S\\\4   S\S\	S   S\
S   S \S!S"42S# jjrS$rg)&SendContact   Nselfzpyrogram.Clientchat_idphone_number
first_name	last_namevcarddisable_notificationmessage_thread_iddirect_messages_topic_id	effect_idreply_parametersztypes.ReplyParameterssuggested_post_parametersztypes.SuggestedPostParametersschedule_dateprotect_contentbusiness_connection_idallow_paid_broadcastpaid_message_star_countreply_markup)ztypes.InlineKeyboardMarkupztypes.ReplyKeyboardMarkupztypes.ReplyKeyboardRemoveztypes.ForceReplyreply_to_message_idreply_to_chat_id
quote_text
parse_modezenums.ParseModequote_entitiesztypes.MessageEntityquote_offsetreturnztypes.Messagec                 ,  #    [        USLUSLUSLUSLUSLUSL45      (       a  Ub  [        R                  S5        Ub  [        R                  S5        Ub  [        R                  S5        Ub  [        R                  S5        Ub  [        R                  S5        Ub  [        R                  S5        [        R                  " UUUUUUS9n
U R                  [        R                  R                  R                  U R                  U5      I Sh  vN [        R                  R                  UUU=(       d    S	U=(       d    S	S
9S	U=(       d    S[        R                  " U U
UU5      I Sh  vN U R                  5       [        R                  " U5      UUU(       a  UR!                  U 5      I Sh  vN OSU	UU(       a  UR!                  5       OSS9US9I Sh  vN n[        R"                  " U US9I Sh  vN nU(       a  US   $ S$  N N N\ N5 N7f)a  Send phone contacts.

.. include:: /_includes/usable-by/users-bots.rst

Parameters:
    chat_id (``int`` | ``str``):
        Unique identifier (int) or username (str) of the target chat.
        For your personal cloud (Saved Messages) you can simply use "me" or "self".
        For a contact that exists in your Telegram address book you can use his phone number (str).

    phone_number (``str``):
        Contact's phone number.

    first_name (``str``):
        Contact's first name.

    last_name (``str``, *optional*):
        Contact's last name.

    vcard (``str``, *optional*):
        Additional data about the contact in the form of a vCard, 0-2048 bytes

    disable_notification (``bool``, *optional*):
        Sends the message silently.
        Users will receive a notification with no sound.

    message_thread_id (``int``, *optional*):
        Unique identifier for the target message thread (topic) of the forum.
        For forums only.

    direct_messages_topic_id (``int``, *optional*):
        Unique identifier of the topic in a channel direct messages chat administered by the current user.
        For directs only only.

    effect_id (``int``, *optional*):
        Unique identifier of the message effect.
        For private chats only.

    reply_parameters (:obj:`~pyrogram.types.ReplyParameters`, *optional*):
        Describes reply parameters for the message that is being sent.

    suggested_post_parameters (:obj:`~pyrogram.types.SuggestedPostParameters`, *optional*):
        Information about the suggested post.

    schedule_date (:py:obj:`~datetime.datetime`, *optional*):
        Date when the message will be automatically sent.

    protect_content (``bool``, *optional*):
        Protects the contents of the sent message from forwarding and saving.

    business_connection_id (``str``, *optional*):
        Unique identifier of the business connection on behalf of which the message will be sent.

    allow_paid_broadcast (``bool``, *optional*):
        If True, you will be allowed to send up to 1000 messages per second.
        Ignoring broadcasting limits for a fee of 0.1 Telegram Stars per message.
        The relevant Stars will be withdrawn from the bot's balance.
        For bots only.

    paid_message_star_count (``int``, *optional*):
        The number of Telegram Stars the user agreed to pay to send the messages.

    reply_markup (:obj:`~pyrogram.types.InlineKeyboardMarkup` | :obj:`~pyrogram.types.ReplyKeyboardMarkup` | :obj:`~pyrogram.types.ReplyKeyboardRemove` | :obj:`~pyrogram.types.ForceReply`, *optional*):
        Additional interface options. An object for an inline keyboard, custom reply keyboard,
        instructions to remove reply keyboard or to force a reply from the user.

Returns:
    :obj:`~pyrogram.types.Message`: On success, the sent contact message is returned.

Example:
    .. code-block:: python

        await app.send_contact("me", "+1-123-456-7890", "Name")
Nzj`reply_to_message_id` is deprecated and will be removed in future updates. Use `reply_parameters` instead.zg`reply_to_chat_id` is deprecated and will be removed in future updates. Use `reply_parameters` instead.za`quote_text` is deprecated and will be removed in future updates. Use `reply_parameters` instead.za`parse_mode` is deprecated and will be removed in future updates. Use `reply_parameters` instead.ze`quote_entities` is deprecated and will be removed in future updates. Use `reply_parameters` instead.zc`quote_offset` is deprecated and will be removed in future updates. Use `reply_parameters` instead.)
message_idr   quotequote_parse_moder$   quote_position )r   r   r   r   )peermediamessagesilentreply_to	random_idr   
noforwardsallow_paid_floodskipr   effectallow_paid_starssuggested_post)r   )clientmessagesr   )anylogwarningr	   ReplyParametersinvoker   	functionsr9   	SendMediaresolve_peerInputMediaContactr
   get_reply_tornd_iddatetime_to_timestampwriteparse_messages)r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r    r!   r"   r#   r$   r%   rr9   s                             S/app/mltbenv/lib/python3.13/site-packages/pyrogram/methods/messages/send_contact.pysend_contactSendContact.send_contact   s2    T #4/ ,$&$&d*D(	
 	
 #. A  +} %w %w ){ 'y  %44.( !+-+  ++MM"",,,,W55ii11!-)'o2+2	 2  +3t$11$%,	   ++-#99-H*%9?K<#5#5d#;;;QU !8D]8>>@cg/ - 2 $:5  
 
: --TAFF&x{0D0; 6 <+
: Gs\   DHH
AH,H-AH1H2(HHH7H8HHHHH )NNNNNNNNNNNNNNNNNNNN)__name__
__module____qualname____firstlineno__r   intstrboolr   r   r   rJ   __static_attributes__rL       rI   r   r      s    %)!%(,48EI"& $&*%)'+ #',0266: ={1{1sCx{1 {1 	{1
 {1 {1 #{1 {1 #&{1 {1 2{1 $C{1  {1 {1 !${1  #!{1" "%#{1$ 
%{12 !3{14  S/5{16 7{18 ./9{1: 23;{1< ={1> 
?{1 {1rU   r   )loggingr   typingr   r   r   pyrogramr   r   r	   r
   	getLoggerrM   r;   r   rL   rU   rI   <module>rZ      s8   &   ( (  - -!|1 |1rU   