
    ՟f                       d Z ddlmZ ddlmZ ddlmZmZmZmZm	Z	m
Z
 ddlmZ ddlmZ ddlmZ ddlmZ dd	lmZ dd
lmZ ddlmZ ddlmZ ddlmZmZmZmZm Z  ddl!m"Z" ddl!m#Z$ ddl!m%Z& er:ddlm'Z'm(Z(m)Z)m*Z*m+Z+m,Z,m-Z-m.Z.m/Z/m0Z0m1Z1m2Z2m3Z3m4Z4m5Z5m6Z6m7Z7m8Z8m9Z9m:Z:m;Z;m<Z<m=Z=m>Z>m?Z?m@Z@mAZA  G d de      ZB G d deB      ZCy)z?This module contains an object that represents a Telegram Chat.    )datetime)escape)TYPE_CHECKINGFinalOptionalSequenceTupleUnion)	constants)ChatPermissions)
ForumTopic)
MenuButton)ReactionType)TelegramObject)enum)DEFAULT_NONE)CorrectOptionID	FileInputJSONDictODVInputReplyMarkup)escape_markdown)mention_html)mention_markdown)	AnimationAudioChatInviteLink
ChatMemberContactDocumentInlineKeyboardMarkupInputMediaAudioInputMediaDocumentInputMediaPhotoInputMediaVideoInputPaidMediaInputPollOptionLabeledPriceLinkPreviewOptionsLocationMessageMessageEntity	MessageId	PhotoSizeReplyParametersStickerUserChatBoostsVenueVideo	VideoNoteVoicec            H       ,    e Zd ZU dZdZ	 	 	 	 	 ddddededee   dee   d	ee   d
ee   dee   dee	   f fdZ
ej                  j                  Zee   ed<   	 ej                  j                   Zee   ed<   	 ej                  j"                  Zee   ed<   	 ej                  j$                  Zee   ed<   	 ej                  j&                  Zee   ed<   	 edee   fd       Zedee   fd       Zedee   fd       Zddee   defdZddee   defdZddee   defdZeeeedddee   dee   dee   dee   dee	   defd Zeeeedddee   dee   dee   dee   dee	   ded!   fd"Z eeeedddee   dee   dee   dee   dee	   defd#Z!eeeeddd$edee   dee   dee   dee   dee	   dd%fd&Z"	 	 deeeeddd$ed'ee   d(ee#ee$f      dee   dee   dee   dee   dee	   defd)Z%eeeeddd*edee   dee   dee   dee   dee	   defd+Z&eeeeddd,e#eef   dee   dee   dee   dee   dee	   defd-Z'eeeeddd*edee   dee   dee   dee   dee	   defd.Z(eeeeddd,e#eef   dee   dee   dee   dee   dee	   defd/Z)	 deeeeddd$ed0ee   dee   dee   dee   dee   dee	   defd1Z*	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 deeeeddd$ed2ee   d3ee   d4ee   d5ee   d6ee   d7ee   d8ee   d9ee   d:ee   d;ee   d<ee   d=ee   d>ee   d?ee   d@ee   dee   dee   dee   dee   dee	   def,dAZ+	 	 deeeeddd$edBe,d(ee#ee$f      dCee   dee   dee   dee   dee   dee	   defdDZ-	 deeeedddBe,dCee   dee   dee   dee   dee   dee	   defdEZ.eeeeddd$edFedee   dee   dee   dee   dee	   defdGZ/eeeedddHe0dee   dee   dee   dee   dee	   defdIZ1eeeedddee   dee   dee   dee   dee	   defdJZ2eeeedddedee   dee   dee   dee   dee	   defdKZ3	 deeeedddLee   dee   dee   dee   dee   dee	   defdMZ4edfeeeedddNedOee   dPee   dee   dee   dee   dee   dee	   defdQZ5	 	 deeeedddNee   dPee   dee   dee   dee   dee   dee	   defdRZ6eeeedddee   dee   dee   dee   dee	   defdSZ7eeddededddf
dedeeeeddTdUedVee   dOee   dWee8   dXee9dY      dZee   d[ee   d\ed]   d^ed_   dPee   d`ee   daee   dbee   dcee   dee   dee   dee   dee   dee	   dddf(deZ:eeeedddNedee   dee   dee   dee   dee	   defdfZ;eeeedddge9e   dee   dee   dee   dee   dee	   defdhZ<eeddddfdeeeeeddeddi
dje9e#dk      dOee   dZee   d[ee   d^ed_   dPee   d`ee   daee   dbee   dee   dee   dee   dee   dee	   dlee   dVee   dmee9dY      dedn   f$doZ=	 	 deeeedddped[ee   dPee   dee   dee   dee   dee   dee	   defdqZ>e>Z?	 dedededdddddfdedeeeeddrdHe#e0dsf   dlee   dOee   dWee8   dVee   dmee9dY      dZee   d[ee   dtee   d^ed_   dPee   d`ee   duee   daee   dbee   dvee   dee   dee   dee   dee   dee	   dddf,dwZ@dddeddeddddfdedeeeeddxdyee   d	ee   d
ee   dOee   dWee8   dzee   dZee   d[ee   d^ed_   dPee   d`ee   daee   dbee   d{ed|   dee   dee   dee   dee   dee	   dddf(d}ZAddddedededddddfdedeeeeddrd~e#e0df   dee   dee   dee   dlee   dOee   dWee8   dVee   dmee9dY      dZee   d[ee   dee0   d^ed_   dPee   d`ee   daee   dbee   dvee   dee   dee   dee   dee   dee	   dddf0dZBdededdedddddfdedeeeeddrde#e0df   dlee   dOee   dWee8   dVee   dee   dmee9dY      dZee   d[ee   dee0   d^ed_   dPee   d`ee   daee   dbee   dvee   dee   dee   dee   dee   dee	   dddf,dZCeddeddddfdeeeeedddOee   dWee8   dee   dZee   d[ee   d^ed_   dPee   d`ee   daee   dbee   dee   dee   dee   dee   dee	   dddf dZDededdddfdeeeeedddedOee   dWed   dZee   d[ee   d^ed_   dPee   d`ee   daee   dbee   dee   dee   dee   dee   dee	   dddf dZEddddddddddeddddddedddfdeeeeedddedLededee   dede9d   dee   dee   dee   dee   dee   dee   dee   dee   dee   dee   dOee   dWed   dee#eeFf      dee   dee   dee   dee9e      dZee   d[ee   d^ed_   d`ee   daee   dbee   dee   dee   dee   dee   dee	   dddfFdZGddedddddeddddfdedeeeedddee   dee   dOee   dWee8   dee   dee   dee   dee   dZee   d[ee   d^ed_   dPee   d`ee   daee   dbee   ded   dee   dee   dee   dee   dee	   dddf,dZHddddeeddedddddddfdedeeeeddrde#e0df   dee   dee   dee   dlee   dVee   dOee   dWee8   dmee9dY      dZee   d[ee   dtee   dee0   d^ed_   dPee   d`ee   duee   daee   dbee   dvee   dee   dee   dee   dee   dee	   dddf4dZIededddddfdeeeeeddde#e0df   dOee   dWee8   dZee   d[ee   dee   d^ed_   dPee   d`ee   daee   dbee   dee   dee   dee   dee   dee	   dddf"dZJdddddeddddeddddfdedeeeedddee   dee   dee   dee   dee   dOee   dWee8   dee   dee   dee   dZee   d[ee   d^ed_   dPee   d`ee   daee   dbee   ded   dee   dee   dee   dee   dee	   dddf0dZKddedddeddedddddddfdedeeeeddrde#e0df   dee   dlee   dOee   dWee8   dee   dee   dVee   dee   dmee9dY      dZee   d[ee   dtee   dee0   d^ed_   dPee   d`ee   duee   daee   dbee   dvee   dee   dee   dee   dee   dee	   dddf6dZLddededddddf
dedeeeeddrde#e0df   dee   dee   dOee   dWee8   dZee   d[ee   dee0   d^ed_   dPee   d`ee   daee   dbee   dvee   dee   dee   dee   dee   dee	   dddf(dńZMddedededdddfdedeeeeddrde#e0df   dee   dlee   dOee   dWee8   dVee   dmee9dY      dZee   d[ee   d^ed_   dPee   d`ee   daee   dbee   dvee   dee   dee   dee   dee   dee	   dddf*dȄZNdddddeddedddedddeddfdeeeeedddede9e#edf      d:ee   dee   dee   deeO   dee   dOee   dWee8   dee   dee   dee   dee#ee$f      dee9dY      dZee   d[ee   d^ed_   dPee   dee   dee9dY      d`ee   daee   dbee   dee   dee   dee   dee   dee	   dddf:dքZPdedededddf	deeeeeddde#eef   dNedlee   dVee   dmee9dY      dOee   dWee8   dZee   d[ee   d^ed_   duee   daee   dbee   dee   dee   dee   dee   dee	   ddf&dلZQdedededddf	deeeeeddd,e#eef   dNedlee   dVee   dmee9dY      dOee   dWee8   dZee   d[ee   d^ed_   duee   daee   dbee   dee   dee   dee   dee   dee	   ddf&dڄZReeddfeeeeddde#eef   dge9e   dOee   dZee   d[ee   dee   dee   dee   dee   dee   dee	   ded   fd݄ZSeeddfeeeeddd,e#eef   dge9e   dOee   dZee   d[ee   dee   dee   dee   dee   dee   dee	   ded   fdބZTeedfeeeeddde#eef   dNedOee   dZee   d[ee   dee   dee   dee   dee   dee	   dddfd߄ZUeedfeeeeddd,e#eef   dNedOee   dZee   d[ee   dee   dee   dee   dee   dee	   dddfdZVeedfeeeeddde#eef   dge9e   dOee   dZee   d[ee   dee   dee   dee   dee   dee	   ded   fdZWeedfeeeeddd,e#eef   dge9e   dOee   dZee   d[ee   dee   dee   dee   dee   dee	   ded   fdZXeeeedddee   dee   dee   dee   dee	   defdZY	 	 	 	 deeeedddee#ee$f      dee   dee   dee   dee   dee   dee   dee   dee	   ddfdZZ	 	 	 	 deeeeddde#edf   dee#ee$f      dee   dee   dee   dee   dee   dee   dee   dee	   ddfdZ[eeeeddde#edf   dee   dee   dee   dee   dee	   ddfdZ\	 deeeedddededee   dee   dee   dee   dee   dee	   ddfdZ]	 deeeeddde#edf   dee   dee   dee   dee   dee   dee	   ddfdZ^eeeeddd$edee   dee   dee   dee   dee	   defdZ_eeeeddd$edee   dee   dee   dee   dee	   defdZ`	 deeeedddeea   dee   dee   dee   dee   dee	   defdZb	 	 deeeedddedee   dee   dee   dee   dee   dee   dee	   decfdZd	 	 deeeeddd[edee   dee   dee   dee   dee   dee   dee	   defdZeeeeeddd[edee   dee   dee   dee   dee	   defdZfeeeeddd[edee   dee   dee   dee   dee	   defdZgeeeeddd[edee   dee   dee   dee   dee	   defdZheeeeddd[edee   dee   dee   dee   dee	   defdZieeeedddee   dee   dee   dee   dee	   defdZjeeeedddedee   dee   dee   dee   dee	   defdZkeeeedddee   dee   dee   dee   dee	   defdZleeeedddee   dee   dee   dee   dee	   defdZmeeeedddee   dee   dee   dee   dee	   defd Zneeeedddee   dee   dee   dee   dee	   defdZoeeeedddee   dee   dee   dee   dee	   deafdZpeeeeddd$edee   dee   dee   dee   dee	   ddfdZq	 	 deeeedddNedee#e9e#eref      eref      dee   dee   dee   dee   dee   dee	   defdZsdeddeeddddf
edeeeeddd	edje9d
   dlee   dVee   dmee9dY      duee   dOee   dZee   d^ed_   dWee8   dPee   dee   dbee   daee   dee   dee   dee   dee   dee	   dddf(dZt xZuS (  	_ChatBasezjBase class for :class:`telegram.Chat` and :class:`telegram.ChatFullInfo`.

    .. versionadded:: 21.3
    )
first_nameidis_forum	last_nametitletypeusernameN
api_kwargsr9   r=   r<   r>   r8   r;   r:   r@   c                   t         	|   |       || _        t        j                  t
        j                  ||      | _        || _        || _	        || _
        || _        || _        | j                  f| _        | j                          y )Nr?   )super__init__r9   r   
get_memberr   ChatTyper=   r<   r>   r8   r;   r:   	_id_attrs_freeze)
selfr9   r=   r<   r>   r8   r;   r:   r@   	__class__s
            I/var/www/cvtools/html/venv/lib/python3.12/site-packages/telegram/_chat.pyrC   z_ChatBase.__init__N   so     	J/););T4H	$)
'/)3(1(0''    SENDERPRIVATEGROUP
SUPERGROUPCHANNELreturnc                 d    | j                   | j                   S | j                  | j                  S y)z
        :obj:`str`: Convenience property. Gives :attr:`~Chat.title` if not :obj:`None`,
        else :attr:`~Chat.full_name` if not :obj:`None`.

        .. versionadded:: 20.1
        N)r<   	full_namerH   s    rJ   effective_namez_ChatBase.effective_namew   s/     ::!::>>%>>!rK   c                     | j                   sy| j                  r| j                    d| j                   S | j                   S )a]  
        :obj:`str`: Convenience property. If :attr:`~Chat.first_name` is not :obj:`None`, gives
        :attr:`~Chat.first_name` followed by (if available) :attr:`~Chat.last_name`.

        Note:
            :attr:`full_name` will always be :obj:`None`, if the chat is a (super)group or
            channel.

        .. versionadded:: 13.2
        N )r8   r;   rT   s    rJ   rS   z_ChatBase.full_name   s:     >>oo&a'788rK   c                 :    | j                   rd| j                    S y)z}:obj:`str`: Convenience property. If the chat has a :attr:`~Chat.username`, returns a
        t.me link of the chat.
        zhttps://t.me/N)r>   rT   s    rJ   linkz_ChatBase.link   s    
 =="4==/22rK   namec                    | j                   | j                  k(  rO|rt        | j                  |      S | j                  r t        | j                  | j                        S t        d      | j                  rI|rd| d| j                   dS | j                  rd| j                   d| j                   dS t        d      t        d      )a  
        Note:
            :tg-const:`telegram.constants.ParseMode.MARKDOWN` is a legacy mode, retained by
            Telegram for backward compatibility. You should use :meth:`mention_markdown_v2`
            instead.

        .. versionadded:: 20.0

        Args:
            name (:obj:`str`): The name used as a link for the chat. Defaults to
                :attr:`~Chat.full_name`.

        Returns:
            :obj:`str`: The inline mention for the chat as markdown (version 1).

        Raises:
            :exc:`TypeError`: If the chat is a private chat and neither the :paramref:`name`
                nor the :attr:`~Chat.first_name` is set, then throw an :exc:`TypeError`.
                If the chat is a public chat and neither the :paramref:`name` nor the
                :attr:`~Chat.title` is set, then throw an :exc:`TypeError`. If chat is a
                private group chat, then throw an :exc:`TypeError`.

        =Can not create a mention to a private chat without first name[]()7Can not create a mention to a public chat without title0Can not create a mention to a private group chat)	r=   rM   helpers_mention_markdownr9   rS   	TypeErrorr>   rY   r<   rH   rZ   s     rJ   r   z_ChatBase.mention_markdown   s    0 99$/>>~~/HH[\\==4&499+Q//zz4::,b155UVVJKKrK   c                    | j                   | j                  k(  rS|rt        | j                  |d      S | j                  r"t        | j                  | j                  d      S t        d      | j                  r_|rdt        |d       d| j                   dS | j                  r(dt        | j                  d       d| j                   dS t        d      t        d      )	a  
        .. versionadded:: 20.0

        Args:
            name (:obj:`str`): The name used as a link for the chat. Defaults to
                :attr:`~Chat.full_name`.

        Returns:
            :obj:`str`: The inline mention for the chat as markdown (version 2).

        Raises:
            :exc:`TypeError`: If the chat is a private chat and neither the :paramref:`name`
                nor the :attr:`~Chat.first_name` is set, then throw an :exc:`TypeError`.
                If the chat is a public chat and neither the :paramref:`name` nor the
                :attr:`~Chat.title` is set, then throw an :exc:`TypeError`. If chat is a
                private group chat, then throw an :exc:`TypeError`.

           )versionr\   r]   r^   r_   r`   ra   )
r=   rM   rb   r9   rS   rc   r>   r   rY   r<   rd   s     rJ   mention_markdown_v2z_ChatBase.mention_markdown_v2   s    & 99$/qII~~/QRSS[\\==?4;<BtyykKKzz?4::qAB"TYYKqQQUVVJKKrK   c                    | j                   | j                  k(  rO|rt        | j                  |      S | j                  r t        | j                  | j                        S t        d      | j                  r[|rd| j                   dt        |       dS | j                  r&d| j                   dt        | j                         dS t        d      t        d      )a  
        .. versionadded:: 20.0

        Args:
            name (:obj:`str`): The name used as a link for the chat. Defaults to :attr:`full_name`.

        Returns:
            :obj:`str`: The inline mention for the chat as HTML.

        Raises:
            :exc:`TypeError`: If the chat is a private chat and neither the :paramref:`name`
                nor the :attr:`~Chat.first_name` is set, then throw an :exc:`TypeError`.
                If the chat is a public chat and neither the :paramref:`name` nor the
                :attr:`~Chat.title` is set, then throw an :exc:`TypeError`.
                If chat is a private group chat, then throw an :exc:`TypeError`.

        r\   z	<a href="z">z</a>r`   ra   )
r=   rM   helpers_mention_htmlr9   rS   rc   r>   rY   r   r<   rd   s     rJ   r   z_ChatBase.mention_html   s    $ 99$+DGGT::~~+DGGT^^DD[\\=="499+Rt~TBBzz"499+Rtzz0B/C4HHUVVJKKrK   )read_timeoutwrite_timeoutconnect_timeoutpool_timeoutr@   rk   rl   rm   rn   c                |   K   | j                         j                  | j                  |||||       d{   S 7 w)a  Shortcut for::

             await bot.leave_chat(update.effective_chat.id, *args, **kwargs)

        For the documentation of the arguments, please see :meth:`telegram.Bot.leave_chat`.

        Returns:
            :obj:`bool`: On success, :obj:`True` is returned.

        chat_idrk   rl   rm   rn   r@   N)get_bot
leave_chatr9   rH   rk   rl   rm   rn   r@   s         rJ   leavez_ChatBase.leave  sF     & \\^..GG%'+%! / 
 
 	
 
   3<:<)r   .c                |   K   | j                         j                  | j                  |||||       d{   S 7 w)a]  Shortcut for::

             await bot.get_chat_administrators(update.effective_chat.id, *args, **kwargs)

        For the documentation of the arguments, please see
        :meth:`telegram.Bot.get_chat_administrators`.

        Returns:
            Tuple[:class:`telegram.ChatMember`]: A tuple of administrators in a chat. An Array of
            :class:`telegram.ChatMember` objects that contains information about all
            chat administrators except other bots. If the chat is a group or a supergroup
            and no administrators were appointed, only the creator will be returned.

        rp   N)rr   get_chat_administratorsr9   rt   s         rJ   get_administratorsz_ChatBase.get_administrators#  sF     . \\^;;GG%'+%! < 
 
 	
 
rv   c                |   K   | j                         j                  | j                  |||||       d{   S 7 w)a	  Shortcut for::

             await bot.get_chat_member_count(update.effective_chat.id, *args, **kwargs)

        For the documentation of the arguments, please see
        :meth:`telegram.Bot.get_chat_member_count`.

        Returns:
            :obj:`int`
        rp   N)rr   get_chat_member_countr9   rt   s         rJ   get_member_countz_ChatBase.get_member_countC  sF     & \\^99GG%'+%! : 
 
 	
 
rv   user_idr   c          	      ~   K   | j                         j                  | j                  ||||||       d{   S 7 w)a  Shortcut for::

             await bot.get_chat_member(update.effective_chat.id, *args, **kwargs)

        For the documentation of the arguments, please see :meth:`telegram.Bot.get_chat_member`.

        Returns:
            :class:`telegram.ChatMember`

        rq   r}   rk   rl   rm   rn   r@   N)rr   get_chat_memberr9   rH   r}   rk   rl   rm   rn   r@   s          rJ   rD   z_ChatBase.get_member_  sI     ( \\^33GG%'+%! 4 
 
 	
 
   4=;=revoke_messages
until_datec                   K   | j                         j                  | j                  ||||||||	       d{   S 7 w)a$  Shortcut for::

             await bot.ban_chat_member(update.effective_chat.id, *args, **kwargs)

        For the documentation of the arguments, please see
        :meth:`telegram.Bot.ban_chat_member`.

        Returns:
            :obj:`bool`: On success, :obj:`True` is returned.
        )	rq   r}   rk   rl   rm   rn   r   r@   r   N)rr   ban_chat_memberr9   )	rH   r}   r   r   rk   rl   rm   rn   r@   s	            rJ   
ban_memberz_ChatBase.ban_member}  sO     , \\^33GG%'+%!!+ 4 

 

 
	
 

   6?=?sender_chat_idc          	      ~   K   | j                         j                  | j                  ||||||       d{   S 7 w)aW  Shortcut for::

             await bot.ban_chat_sender_chat(chat_id=update.effective_chat.id, *args, **kwargs)

        For the documentation of the arguments, please see
        :meth:`telegram.Bot.ban_chat_sender_chat`.

        .. versionadded:: 13.9

        Returns:
            :obj:`bool`: On success, :obj:`True` is returned.

        rq   r   rk   rl   rm   rn   r@   Nrr   ban_chat_sender_chatr9   rH   r   rk   rl   rm   rn   r@   s          rJ   ban_sender_chatz_ChatBase.ban_sender_chat  sI     . \\^88GG)%'+%! 9 
 
 	
 
r   rq   c          	      ~   K   | j                         j                  || j                  |||||       d{   S 7 w)a~  Shortcut for::

             await bot.ban_chat_sender_chat(
                 sender_chat_id=update.effective_chat.id, *args, **kwargs
             )

        For the documentation of the arguments, please see
        :meth:`telegram.Bot.ban_chat_sender_chat`.

        .. versionadded:: 13.9

        Returns:
            :obj:`bool`: On success, :obj:`True` is returned.

        r   Nr   rH   rq   rk   rl   rm   rn   r@   s          rJ   ban_chatz_ChatBase.ban_chat  sI     2 \\^8877%'+%! 9 
 
 	
 
r   c          	      ~   K   | j                         j                  | j                  ||||||       d{   S 7 w)a[  Shortcut for::

             await bot.unban_chat_sender_chat(chat_id=update.effective_chat.id, *args, **kwargs)

        For the documentation of the arguments, please see
        :meth:`telegram.Bot.unban_chat_sender_chat`.

        .. versionadded:: 13.9

        Returns:
            :obj:`bool`: On success, :obj:`True` is returned.

        r   Nrr   unban_chat_sender_chatr9   r   s          rJ   unban_sender_chatz_ChatBase.unban_sender_chat  sI     . \\^::GG)%'+%! ; 
 
 	
 
r   c          	      ~   K   | j                         j                  || j                  |||||       d{   S 7 w)a  Shortcut for::

             await bot.unban_chat_sender_chat(
                 sender_chat_id=update.effective_chat.id, *args, **kwargs
             )

        For the documentation of the arguments, please see
        :meth:`telegram.Bot.unban_chat_sender_chat`.

        .. versionadded:: 13.9

        Returns:
            :obj:`bool`: On success, :obj:`True` is returned.

        r   Nr   r   s          rJ   
unban_chatz_ChatBase.unban_chat  sI     2 \\^::77%'+%! ; 
 
 	
 
r   only_if_bannedc          
         K   | j                         j                  | j                  |||||||       d{   S 7 w)a!  Shortcut for::

             await bot.unban_chat_member(update.effective_chat.id, *args, **kwargs)

        For the documentation of the arguments, please see :meth:`telegram.Bot.unban_chat_member`.

        Returns:
            :obj:`bool`: On success, :obj:`True` is returned.

        )rq   r}   rk   rl   rm   rn   r@   r   N)rr   unban_chat_memberr9   )rH   r}   r   rk   rl   rm   rn   r@   s           rJ   unban_memberz_ChatBase.unban_member'  sL     * \\^55GG%'+%!) 6 	
 	
 		
 	
   5><>can_change_infocan_post_messagescan_edit_messagescan_delete_messagescan_invite_userscan_restrict_memberscan_pin_messagescan_promote_membersis_anonymouscan_manage_chatcan_manage_video_chatscan_manage_topicscan_post_storiescan_edit_storiescan_delete_storiesc                   K   | j                         j                  | j                  |||||||||	||||||
||||||       d{   S 7 w)a  Shortcut for::

             await bot.promote_chat_member(update.effective_chat.id, *args, **kwargs)

        For the documentation of the arguments, please see
        :meth:`telegram.Bot.promote_chat_member`.

        .. versionadded:: 13.2
        .. versionchanged:: 20.0
           The argument ``can_manage_voice_chats`` was renamed to
           :paramref:`~telegram.Bot.promote_chat_member.can_manage_video_chats` in accordance to
           Bot API 6.0.
        .. versionchanged:: 20.6
           The arguments `can_post_stories`, `can_edit_stories` and `can_delete_stories` were
           added.

        Returns:
            :obj:`bool`: On success, :obj:`True` is returned.

        )rq   r}   r   r   r   r   r   r   r   r   rk   rl   rm   rn   r@   r   r   r   r   r   r   r   N)rr   promote_chat_memberr9   )rH   r}   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   rk   rl   rm   rn   r@   s                         rJ   promote_memberz_ChatBase.promote_memberG  sw     Z \\^77GG+// 3-!5- 3%'+%!%+#9/--1- 8 
 
 	
 
   AAA
Apermissions use_independent_chat_permissionsc                   K   | j                         j                  | j                  |||||||||	
       d{   S 7 w)a  Shortcut for::

             await bot.restrict_chat_member(update.effective_chat.id, *args, **kwargs)

        For the documentation of the arguments, please see
        :meth:`telegram.Bot.restrict_chat_member`.

        .. versionadded:: 13.2

        .. versionadded:: 20.1
            Added :paramref:`~telegram.Bot.restrict_chat_member.use_independent_chat_permissions`.

        Returns:
            :obj:`bool`: On success, :obj:`True` is returned.

        )
rq   r}   r   r   r   rk   rl   rm   rn   r@   N)rr   restrict_chat_memberr9   )
rH   r}   r   r   r   rk   rl   rm   rn   r@   s
             rJ   restrict_memberz_ChatBase.restrict_member  sR     : \\^88GG#!-M%'+%! 9 
 
 	
 
   7A >A c          
         K   | j                         j                  | j                  |||||||       d{   S 7 w)a  Shortcut for::

             await bot.set_chat_permissions(update.effective_chat.id, *args, **kwargs)

        For the documentation of the arguments, please see
        :meth:`telegram.Bot.set_chat_permissions`.

        .. versionadded:: 20.1
            Added :paramref:`~telegram.Bot.set_chat_permissions.use_independent_chat_permissions`.

        Returns:
            :obj:`bool`: On success, :obj:`True` is returned.

        )rq   r   r   rk   rl   rm   rn   r@   N)rr   set_chat_permissionsr9   )rH   r   r   rk   rl   rm   rn   r@   s           rJ   set_permissionsz_ChatBase.set_permissions  sL     2 \\^88GG#-M%'+%! 9 	
 	
 		
 	
r   custom_titlec          
         K   | j                         j                  | j                  |||||||       d{   S 7 w)am  Shortcut for::

             await bot.set_chat_administrator_custom_title(
                 update.effective_chat.id, *args, **kwargs
             )

        For the documentation of the arguments, please see
        :meth:`telegram.Bot.set_chat_administrator_custom_title`.

        Returns:
            :obj:`bool`: On success, :obj:`True` is returned.

        )rq   r}   r   rk   rl   rm   rn   r@   N)rr   #set_chat_administrator_custom_titler9   )rH   r}   r   rk   rl   rm   rn   r@   s           rJ   set_administrator_custom_titlez(_ChatBase.set_administrator_custom_title  sM     0 \\^GGGG%%'+%! H 	
 	
 		
 	
r   photoc          	      ~   K   | j                         j                  | j                  ||||||       d{   S 7 w)ak  Shortcut for::

             await bot.set_chat_photo(
                 chat_id=update.effective_chat.id, *args, **kwargs
             )

        For the documentation of the arguments, please see
        :meth:`telegram.Bot.set_chat_photo`.

        .. versionadded:: 20.0

        Returns:
            :obj:`bool`: On success, :obj:`True` is returned.

        )rq   r   rk   rl   rm   rn   r@   N)rr   set_chat_photor9   )rH   r   rk   rl   rm   rn   r@   s          rJ   	set_photoz_ChatBase.set_photo  I     2 \\^22GG%'+%! 3 
 
 	
 
r   c                |   K   | j                         j                  | j                  |||||       d{   S 7 w)aq  Shortcut for::

             await bot.delete_chat_photo(
                 chat_id=update.effective_chat.id, *args, **kwargs
             )

        For the documentation of the arguments, please see
        :meth:`telegram.Bot.delete_chat_photo`.

        .. versionadded:: 20.0

        Returns:
            :obj:`bool`: On success, :obj:`True` is returned.

        rp   N)rr   delete_chat_photor9   rt   s         rJ   delete_photoz_ChatBase.delete_photo!  sF     0 \\^55GG%'+%! 6 
 
 	
 
rv   c          	      ~   K   | j                         j                  | j                  ||||||       d{   S 7 w)ak  Shortcut for::

             await bot.set_chat_title(
                 chat_id=update.effective_chat.id, *args, **kwargs
             )

        For the documentation of the arguments, please see
        :meth:`telegram.Bot.set_chat_title`.

        .. versionadded:: 20.0

        Returns:
            :obj:`bool`: On success, :obj:`True` is returned.

        )rq   r<   rk   rl   rm   rn   r@   N)rr   set_chat_titler9   )rH   r<   rk   rl   rm   rn   r@   s          rJ   	set_titlez_ChatBase.set_titleB  r   r   descriptionc          	      ~   K   | j                         j                  | j                  ||||||       d{   S 7 w)aw  Shortcut for::

             await bot.set_chat_description(
                 chat_id=update.effective_chat.id, *args, **kwargs
             )

        For the documentation of the arguments, please see
        :meth:`telegram.Bot.set_chat_description`.

        .. versionadded:: 20.0

        Returns:
            :obj:`bool`: On success, :obj:`True` is returned.

        )rq   r   rk   rl   rm   rn   r@   N)rr   set_chat_descriptionr9   )rH   r   rk   rl   rm   rn   r@   s          rJ   set_descriptionz_ChatBase.set_descriptione  sI     2 \\^88GG#%'+%! 9 
 
 	
 
r   
message_iddisable_notificationbusiness_connection_idc                   K   | j                         j                  | j                  ||||||||	       d{   S 7 w)a0  Shortcut for::

              await bot.pin_chat_message(chat_id=update.effective_chat.id, *args, **kwargs)

        For the documentation of the arguments, please see
        :meth:`telegram.Bot.pin_chat_message`.

        Returns:
            :obj:`bool`: On success, :obj:`True` is returned.

        )	rq   r   r   rk   rl   rm   rn   r@   r   N)rr   pin_chat_messager9   )	rH   r   r   r   rk   rl   rm   rn   r@   s	            rJ   pin_messagez_ChatBase.pin_message  sO     . \\^44GG!!5%'+%!#9 5 

 

 
	
 

r   c          
         K   | j                         j                  | j                  |||||||       d{   S 7 w)a4  Shortcut for::

              await bot.unpin_chat_message(chat_id=update.effective_chat.id, *args, **kwargs)

        For the documentation of the arguments, please see
        :meth:`telegram.Bot.unpin_chat_message`.

        Returns:
            :obj:`bool`: On success, :obj:`True` is returned.

        )rq   rk   rl   rm   rn   r@   r   r   N)rr   unpin_chat_messager9   )rH   r   r   rk   rl   rm   rn   r@   s           rJ   unpin_messagez_ChatBase.unpin_message  sL     , \\^66GG%'+%!!#9 7 	
 	
 		
 	
r   c                |   K   | j                         j                  | j                  |||||       d{   S 7 w)a>  Shortcut for::

              await bot.unpin_all_chat_messages(chat_id=update.effective_chat.id, *args, **kwargs)

        For the documentation of the arguments, please see
        :meth:`telegram.Bot.unpin_all_chat_messages`.

        Returns:
            :obj:`bool`: On success, :obj:`True` is returned.

        rp   N)rr   unpin_all_chat_messagesr9   rt   s         rJ   unpin_all_messagesz_ChatBase.unpin_all_messages  sF     ( \\^;;GG%'+%! < 
 
 	
 
rv   )reply_to_message_idallow_sending_without_replydisable_web_page_previewrk   rl   rm   rn   r@   text
parse_modereply_markupentitiesr,   protect_contentmessage_thread_idlink_preview_optionsr)   reply_parametersr/   message_effect_idr   r   r   r+   c                   K   | j                         j                  | j                  |||||||	|||||||||||
|       d{   S 7 w)a6  Shortcut for::

             await bot.send_message(update.effective_chat.id, *args, **kwargs)

        For the documentation of the arguments, please see :meth:`telegram.Bot.send_message`.

        Returns:
            :class:`telegram.Message`: On success, instance representing the message posted.

        )rq   r   r   r   r   r   r   r   r   r   r   r   r   rk   rl   rm   rn   r@   r   r   N)rr   send_messager9   )rH   r   r   r   r   r   r   r   r   r   r   r   r   r   r   rk   rl   rm   rn   r@   s                       rJ   r   z_ChatBase.send_message  sq     B \\^00GG!%=!5 3!5-%(C+/%'+%!#9/) 1 
 
 	
 
   AA
AA
c          	      ~   K   | j                         j                  | j                  ||||||       d{   S 7 w)a;  Shortcut for::

             await bot.delete_message(update.effective_chat.id, *args, **kwargs)

        For the documentation of the arguments, please see :meth:`telegram.Bot.delete_message`.

        .. versionadded:: 20.8

        Returns:
            :obj:`bool`: On success, :obj:`True` is returned.

        )rq   r   rk   rl   rm   rn   r@   N)rr   delete_messager9   )rH   r   rk   rl   rm   rn   r@   s          rJ   r   z_ChatBase.delete_message!  sI     , \\^22GG!%'+%! 3 
 
 	
 
r   message_idsc          	      ~   K   | j                         j                  | j                  ||||||       d{   S 7 w)a=  Shortcut for::

             await bot.delete_messages(update.effective_chat.id, *args, **kwargs)

        For the documentation of the arguments, please see :meth:`telegram.Bot.delete_messages`.

        .. versionadded:: 20.8

        Returns:
            :obj:`bool`: On success, :obj:`True` is returned.

        )rq   r   rk   rl   rm   rn   r@   N)rr   delete_messagesr9   )rH   r   rk   rl   rm   rn   r@   s          rJ   r   z_ChatBase.delete_messagesA  sI     , \\^33GG#%'+%! 4 
 
 	
 
r   )
r   r   rk   rl   rm   rn   r@   captionr   caption_entitiesmedia)r"   r#   r$   r%   r   r   )r+   .c       
            K   | j                         j                  | j                  ||||
|||||	||||||||       d{   S 7 w)as  Shortcut for::

             await bot.send_media_group(update.effective_chat.id, *args, **kwargs)

        For the documentation of the arguments, please see :meth:`telegram.Bot.send_media_group`.

        Returns:
            Tuple[:class:`telegram.Message`]: On success, a tuple of :class:`~telegram.Message`
            instances that were sent is returned.

        )rq   r   r   r   rk   rl   rm   rn   r@   r   r   r   r   r   r   r   r   r   N)rr   send_media_groupr9   )rH   r   r   r   r   r   r   r   r   r   rk   rl   rm   rn   r@   r   r   r   s                     rJ   r   z_ChatBase.send_media_groupa  sk     D \\^44GG!5 3%'+%!(C+/!--#9/% 5 
 
 	
 
s   ?AAAactionc                   K   | j                         j                  | j                  ||||||||	       d{   S 7 w)a  Shortcut for::

             await bot.send_chat_action(update.effective_chat.id, *args, **kwargs)

        For the documentation of the arguments, please see :meth:`telegram.Bot.send_chat_action`.

        Returns:
            :obj:`bool`: On success, :obj:`True` is returned.

        )	rq   r   r   rk   rl   rm   rn   r@   r   N)rr   send_chat_actionr9   )	rH   r   r   r   rk   rl   rm   rn   r@   s	            rJ   r   z_ChatBase.send_chat_action  sO     , \\^44GG/%'+%!#9 5 

 

 
	
 

r   )r   r   filenamerk   rl   rm   rn   r@   r.   has_spoilershow_caption_above_mediar   c                   K   | j                         j                  | j                  |||||
|||||||||||||	|||       d{   S 7 w)a2  Shortcut for::

             await bot.send_photo(update.effective_chat.id, *args, **kwargs)

        For the documentation of the arguments, please see :meth:`telegram.Bot.send_photo`.

        Returns:
            :class:`telegram.Message`: On success, instance representing the message posted.

        )rq   r   r   r   r   r   r   r   r   r   r   r   r   rk   rl   rm   rn   r@   r   r   r   r   N)rr   
send_photor9   )rH   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   rk   rl   rm   rn   r@   s                         rJ   r   z_ChatBase.send_photo  sw     F \\^..GG!5 3-%!(C-+/%'+%!##9/%=- / 
 
 	
 
r   )r   r   contactrk   rl   rm   rn   r@   phone_numbervcardr   r   c                   K   | j                         j                  | j                  ||||||	||||||||||||
|       d{   S 7 w)a6  Shortcut for::

             await bot.send_contact(update.effective_chat.id, *args, **kwargs)

        For the documentation of the arguments, please see :meth:`telegram.Bot.send_contact`.

        Returns:
            :class:`telegram.Message`: On success, instance representing the message posted.

        )rq   r   r8   r;   r   r   r   r   rk   rl   rm   rn   r   r   r@   r   r   r   r   r   N)rr   send_contactr9   )rH   r   r8   r;   r   r   r   r   r   r   r   r   r   r   r   rk   rl   rm   rn   r@   s                       rJ   r   z_ChatBase.send_contact  sq     B \\^00GG%!!5 3-%%'+%!(C+/#9/) 1 
 
 	
 
r   audior   duration	performer	thumbnailc                   K   | j                         j                  | j                  ||||||||||||	||
|||||||||       d{   S 7 w)a2  Shortcut for::

             await bot.send_audio(update.effective_chat.id, *args, **kwargs)

        For the documentation of the arguments, please see :meth:`telegram.Bot.send_audio`.

        Returns:
            :class:`telegram.Message`: On success, instance representing the message posted.

        )rq   r   r   r  r<   r   r   r   r   r   r   r   r   r   r   r   rk   rl   rm   rn   r@   r  r   r   N)rr   
send_audior9   )rH   r   r   r  r<   r   r   r   r   r   r   r   r  r   r   r   r   r   r   rk   rl   rm   rn   r@   s                           rJ   r  z_ChatBase.send_audio1  s}     J \\^..GG!5 3-%!(C-+/%'+%!#9/1 / 
 
 	
 
   AAAAdocumentr    disable_content_type_detectionc                   K   | j                         j                  | j                  |||||||||||||
||||||	||       d{   S 7 w)a8  Shortcut for::

             await bot.send_document(update.effective_chat.id, *args, **kwargs)

        For the documentation of the arguments, please see :meth:`telegram.Bot.send_document`.

        Returns:
            :class:`telegram.Message`: On success, instance representing the message posted.

        )rq   r  r   r   r   r   r   r   rk   rl   rm   rn   r   r  r@   r  r   r   r   r   r   r   N)rr   send_documentr9   )rH   r  r   r   r   r   r  r   r   r   r  r   r   r   r   r   r   rk   rl   rm   rn   r@   s                         rJ   r	  z_ChatBase.send_documentq  sw     F \\^11GG!5 3-%%'+%!!+I(C-+/#9/- 2 
 
 	
 
r   )r   r   rk   rl   rm   rn   r@   emojic	                   K   | j                         j                  | j                  ||	|||||||||
||||       d{   S 7 w)a0  Shortcut for::

             await bot.send_dice(update.effective_chat.id, *args, **kwargs)

        For the documentation of the arguments, please see :meth:`telegram.Bot.send_dice`.

        Returns:
            :class:`telegram.Message`: On success, instance representing the message posted.

        )rq   r   r   r   r   rk   rl   rm   rn   r
  r@   r   r   r   r   r   N)rr   	send_dicer9   )rH   r   r   r
  r   r   r   r   r   r   r   rk   rl   rm   rn   r@   s                   rJ   r  z_ChatBase.send_dice  sd     : \\^--GG!5 3-%%'+%!(C+/#9/! . 
 
 	
 
   =AA Agame_short_namer!   c	                   K   | j                         j                  | j                  |||	||||||||
||||       d{   S 7 w)a0  Shortcut for::

             await bot.send_game(update.effective_chat.id, *args, **kwargs)

        For the documentation of the arguments, please see :meth:`telegram.Bot.send_game`.

        Returns:
            :class:`telegram.Message`: On success, instance representing the message posted.

        )rq   r  r   r   r   r   rk   rl   rm   rn   r@   r   r   r   r   r   N)rr   	send_gamer9   )rH   r  r   r   r   r   r   r   r   r   r   rk   rl   rm   rn   r@   s                   rJ   r  z_ChatBase.send_game  sd     : \\^--GG+!5 3-%%'+%!(C+/#9/! . 
 
 	
 
r  payloadprovider_tokencurrencypricesr(   start_parameter	photo_url
photo_sizephoto_widthphoto_height	need_nameneed_phone_number
need_emailneed_shipping_addressis_flexibleprovider_datasend_phone_number_to_providersend_email_to_providermax_tip_amountsuggested_tip_amountsc                @  K    | j                         j                  d%i d| j                  d|d|d|d|d|d|d|d	|d
|	d|
d|d|d|d|d|d|d|d|d|d|d|d|d|d|d| d|!d|"d|d|d|d |d!|d"|d#| d${   S 7 w)&a  Shortcut for::

             await bot.send_invoice(update.effective_chat.id, *args, **kwargs)

        For the documentation of the arguments, please see :meth:`telegram.Bot.send_invoice`.

        Warning:
            As of API 5.2 :paramref:`start_parameter <telegram.Bot.send_invoice.start_parameter>`
            is an optional argument and therefore the
            order of the arguments had to be changed. Use keyword arguments to make sure that the
            arguments are passed correctly.

        .. versionchanged:: 13.5
            As of Bot API 5.2, the parameter
            :paramref:`start_parameter <telegram.Bot.send_invoice.start_parameter>` is optional.

        Returns:
            :class:`telegram.Message`: On success, instance representing the message posted.

        rq   r<   r   r  r  r  r  r  r  r  r  r  r  r  r  r  r  r   r   r   r  r   r!  rk   rl   rm   rn   r@   r   r"  r#  r   r   r   r   N )rr   send_invoicer9   )#rH   r<   r   r  r  r  r  r  r  r  r  r  r  r  r  r  r  r   r   r  r   r!  r"  r#  r   r   r   r   r   r   rk   rl   rm   rn   r@   s#                                      rJ   r&  z_ChatBase.send_invoice  s    t 1T\\^00 $
GG$
$
 $$
 	$

 *$
 $
 $
 ,$
  $
 "$
 $$
 &$
  $
 0$
 "$
  #8!$
" $#$
$ "6%$
& !4'$
( &)$
* (+$
, +H-$
. $:/$
0 &1$
2 (3$
4 ,5$
6 &7$
8 "9$
: )D;$
< *=$
> #8?$
@ ,A$
B 0C$
D .E$
F 0G$
 $
 $	
 $
s   BBBB)r   r   locationrk   rl   rm   rn   r@   latitude	longitudelive_periodhorizontal_accuracyheadingproximity_alert_radiusr'  r*   c                   K   | j                         j                  | j                  ||||||||||||||||||	|
||       d{   S 7 w)a8  Shortcut for::

             await bot.send_location(update.effective_chat.id, *args, **kwargs)

        For the documentation of the arguments, please see :meth:`telegram.Bot.send_location`.

        Returns:
            :class:`telegram.Message`: On success, instance representing the message posted.

        )rq   r(  r)  r   r   r   r   rk   rl   rm   rn   r'  r*  r@   r+  r,  r-  r   r   r   r   r   N)rr   send_locationr9   )rH   r(  r)  r   r   r*  r+  r,  r-  r   r   r   r   r   r   r   r'  rk   rl   rm   rn   r@   s                         rJ   r/  z_ChatBase.send_locationm  sw     F \\^11GG!5 3-%%'+%#! 3#9(C+/#9/- 2 
 
 	
 
r   	animationr   widthheightc                   K   | j                         j                  | j                  |||||||||||||||||	||
||||||       d{   S 7 w)a:  Shortcut for::

             await bot.send_animation(update.effective_chat.id, *args, **kwargs)

        For the documentation of the arguments, please see :meth:`telegram.Bot.send_animation`.

        Returns:
            :class:`telegram.Message`: On success, instance representing the message posted.

        )rq   r0  r   r1  r2  r   r   r   r   r   r   rk   rl   rm   rn   r@   r   r   r   r   r   r   r  r   r   r   N)rr   send_animationr9   )rH   r0  r   r1  r2  r   r   r   r   r   r   r   r   r  r   r   r   r   r   r   r   rk   rl   rm   rn   r@   s                             rJ   r4  z_ChatBase.send_animation  s     N \\^22GG!!5 3-%%'+%!(C-+/##9/%=5 3 
 
 	
 
s   AA	A
Astickerr0   c
                   K   | j                         j                  | j                  |||
|||||||||||||	       d{   S 7 w)a6  Shortcut for::

             await bot.send_sticker(update.effective_chat.id, *args, **kwargs)

        For the documentation of the arguments, please see :meth:`telegram.Bot.send_sticker`.

        Returns:
            :class:`telegram.Message`: On success, instance representing the message posted.

        )rq   r5  r   r   r   r   rk   rl   rm   rn   r@   r   r   r   r
  r   r   N)rr   send_stickerr9   )rH   r5  r   r   r   r   r
  r   r   r   r   r   rk   rl   rm   rn   r@   s                    rJ   r7  z_ChatBase.send_sticker  sg     < \\^00GG!5 3-%%'+%!(C+/#9/# 1 
 
 	
 
s   >A AA)r   r   venuerk   rl   rm   rn   r@   addressfoursquare_idfoursquare_typegoogle_place_idgoogle_place_typer8  r2   c                   K   | j                         j                  | j                  |||||||||||||||||	|
|||||       d{   S 7 w)a2  Shortcut for::

             await bot.send_venue(update.effective_chat.id, *args, **kwargs)

        For the documentation of the arguments, please see :meth:`telegram.Bot.send_venue`.

        Returns:
            :class:`telegram.Message`: On success, instance representing the message posted.

        )rq   r(  r)  r<   r9  r:  r   r   r   r   rk   rl   rm   rn   r8  r;  r@   r<  r=  r   r   r   r   r   N)rr   
send_venuer9   )rH   r(  r)  r<   r9  r:  r   r   r;  r<  r=  r   r   r   r   r   r   r   r8  rk   rl   rm   rn   r@   s                           rJ   r?  z_ChatBase.send_venue  s}     J \\^..GG'!5 3-%%'+%+!+/(C+/#9/1 / 
 
 	
 
r  videor3   supports_streamingc                   K   | j                         j                  | j                  |||||||||||||||	||||
|||||||       d{   S 7 w)a2  Shortcut for::

             await bot.send_video(update.effective_chat.id, *args, **kwargs)

        For the documentation of the arguments, please see :meth:`telegram.Bot.send_video`.

        Returns:
            :class:`telegram.Message`: On success, instance representing the message posted.

        )rq   r@  r   r   r   r   r   r   rk   rl   rm   rn   r1  r2  r   rA  r  r@   r   r   r   r   r   r   r   r   r   N)rr   
send_videor9   )rH   r@  r   r   r   r   r1  r2  r   rA  r   r   r   r   r  r   r   r   r   r   r   r   rk   rl   rm   rn   r@   s                              rJ   rC  z_ChatBase.send_video_  s     P \\^..GG!5 3-%%'+%!1!(C-+/##9/%=7 / 
 
 	
 
s   AA
AA
video_noter4   lengthc                   K   | j                         j                  | j                  ||||||	||||||||||||
|       d{   S 7 w)a<  Shortcut for::

             await bot.send_video_note(update.effective_chat.id, *args, **kwargs)

        For the documentation of the arguments, please see :meth:`telegram.Bot.send_video_note`.

        Returns:
            :class:`telegram.Message`: On success, instance representing the message posted.

        )rq   rD  r   rE  r   r   r   r   rk   rl   rm   rn   r  r@   r   r   r   r   r   r   N)rr   send_video_noter9   )rH   rD  r   rE  r   r   r   r   r  r   r   r   r   r   r   rk   rl   rm   rn   r@   s                       rJ   rG  z_ChatBase.send_video_note  sq     B \\^33GG!!5 3-%%'+%!(C+/#9/) 4 
 
 	
 
r   voicer5   c                   K   | j                         j                  | j                  ||||||
||||||||||||	||       d{   S 7 w)a2  Shortcut for::

             await bot.send_voice(update.effective_chat.id, *args, **kwargs)

        For the documentation of the arguments, please see :meth:`telegram.Bot.send_voice`.

        Returns:
            :class:`telegram.Message`: On success, instance representing the message posted.

        )rq   rH  r   r   r   r   r   r   rk   rl   rm   rn   r   r@   r   r   r   r   r   r   r   N)rr   
send_voicer9   )rH   rH  r   r   r   r   r   r   r   r   r   r   r   r   r   r   rk   rl   rm   rn   r@   s                        rJ   rJ  z_ChatBase.send_voice  st     D \\^..GG!5 3-%%'+%!!(C-+/#9/+ / 
 
 	
 
s   AAA	Aquestionoptionsr'   allows_multiple_answerscorrect_option_id	is_closedexplanationexplanation_parse_modeopen_period
close_dateexplanation_entitiesquestion_parse_modequestion_entitiesc                  K    | j                         j                  di d| j                  d|d|d|d|d|d|d|d	|d
|d|d|	d|d|d|d|d|d|
d|d|d|d|d|d|d|d|d|d|d| d{   S 7 w) a0  Shortcut for::

             await bot.send_poll(update.effective_chat.id, *args, **kwargs)

        For the documentation of the arguments, please see :meth:`telegram.Bot.send_poll`.

        Returns:
            :class:`telegram.Message`: On success, instance representing the message posted.

        rq   rK  rL  r   r=   rM  rN  rO  r   r   r   r   rk   rl   rm   rn   r   rP  rQ  rR  rS  r@   r   rT  r   r   r   rU  rV  Nr%  )rr   	send_pollr9   )rH   rK  rL  r   r=   rM  rN  rO  r   r   rP  rQ  rR  rS  rT  r   r   r   r   rU  rV  r   r   r   rk   rl   rm   rn   r@   s                                rJ   rX  z_ChatBase.send_poll  sQ    T .T\\^-- 
GG

 
 &	

 
 %<
 0
  
 "6
 !4
 .
 &
 &
 (
 ,
  &!
" 0#
$ $%
& $:'
( $)
* "+
, "-
. )D/
0 "61
2 ,3
4 05
6 $:7
8 !49
: 0;
 
 	
 
s   BBB
Bfrom_chat_idr-   c                   K   | j                         j                  | j                  ||||||||
|||||||||	|       d{   S 7 w)a  Shortcut for::

             await bot.copy_message(chat_id=update.effective_chat.id, *args, **kwargs)

        For the documentation of the arguments, please see :meth:`telegram.Bot.copy_message`.

        .. seealso:: :meth:`copy_message`, :meth:`send_copies`, :meth:`copy_messages`.

        Returns:
            :class:`telegram.Message`: On success, instance representing the message posted.

        )rq   rY  r   r   r   r   r   r   r   r   r   rk   rl   rm   rn   r@   r   r   r   Nrr   copy_messager9   )rH   rY  r   r   r   r   r   r   r   r   r   r   r   r   rk   rl   rm   rn   r@   s                      rJ   	send_copyz_ChatBase.send_copya  sn     D \\^00GG%!!-!5 3-(C%%'+%!+/%=' 1 
 
 	
 
   A A	AA	c                   K   | j                         j                  | j                  ||||||||
|||||||||	|       d{   S 7 w)a  Shortcut for::

             await bot.copy_message(from_chat_id=update.effective_chat.id, *args, **kwargs)

        For the documentation of the arguments, please see :meth:`telegram.Bot.copy_message`.

        .. seealso:: :meth:`send_copy`, :meth:`send_copies`, :meth:`copy_messages`.

        Returns:
            :class:`telegram.MessageId`: On success, returns the MessageId of the sent message.

        )rY  rq   r   r   r   r   r   r   r   r   r   rk   rl   rm   rn   r@   r   r   r   Nr[  )rH   rq   r   r   r   r   r   r   r   r   r   r   r   r   rk   rl   rm   rn   r@   s                      rJ   r\  z_ChatBase.copy_message  sn     D \\^00!!-!5 3-(C%%'+%!+/%=' 1 
 
 	
 
r^  remove_caption)r-   .c                   K   | j                         j                  | j                  |||||||||	|
|       d{   S 7 w)a  Shortcut for::

             await bot.copy_messages(chat_id=update.effective_chat.id, *args, **kwargs)

        For the documentation of the arguments, please see :meth:`telegram.Bot.copy_messages`.

        .. seealso:: :meth:`copy_message`, :meth:`send_copy`, :meth:`copy_messages`.

        .. versionadded:: 20.8

        Returns:
            Tuple[:class:`telegram.MessageId`]: On success, a tuple of :class:`~telegram.MessageId`
            of the sent messages is returned.

        )rq   rY  r   r   r   r   r`  rk   rl   rm   rn   r@   Nrr   copy_messagesr9   )rH   rY  r   r   r   r   r`  rk   rl   rm   rn   r@   s               rJ   send_copiesz_ChatBase.send_copies  sX     < \\^11GG%#!5+/)%'+%! 2 
 
 	
 
   9AA Ac                   K   | j                         j                  | j                  |||||||||	|
|       d{   S 7 w)a  Shortcut for::

             await bot.copy_messages(from_chat_id=update.effective_chat.id, *args, **kwargs)

        For the documentation of the arguments, please see :meth:`telegram.Bot.copy_messages`.

        .. seealso:: :meth:`copy_message`, :meth:`send_copy`, :meth:`send_copies`.

        .. versionadded:: 20.8

        Returns:
            Tuple[:class:`telegram.MessageId`]: On success, a tuple of :class:`~telegram.MessageId`
            of the sent messages is returned.

        )rY  rq   r   r   r   r   r`  rk   rl   rm   rn   r@   Nrb  )rH   rq   r   r   r   r   r`  rk   rl   rm   rn   r@   s               rJ   rc  z_ChatBase.copy_messages  sX     < \\^11#!5+/)%'+%! 2 
 
 	
 
re  c                   K   | j                         j                  | j                  |||||||	|
||       d{   S 7 w)a  Shortcut for::

             await bot.forward_message(chat_id=update.effective_chat.id, *args, **kwargs)

        For the documentation of the arguments, please see :meth:`telegram.Bot.forward_message`.

        .. seealso:: :meth:`forward_to`, :meth:`forward_messages_from`, :meth:`forward_messages_to`

        .. versionadded:: 20.0

        Returns:
            :class:`telegram.Message`: On success, instance representing the message posted.

        )rq   rY  r   r   rk   rl   rm   rn   r@   r   r   Nrr   forward_messager9   )rH   rY  r   r   r   r   rk   rl   rm   rn   r@   s              rJ   forward_fromz_ChatBase.forward_from+	  sU     8 \\^33GG%!!5%'+%!+/ 4 
 
 	
 
   8A?Ac                   K   | j                         j                  | j                  |||||||	|
||       d{   S 7 w)a  Shortcut for::

             await bot.forward_message(from_chat_id=update.effective_chat.id, *args, **kwargs)

        For the documentation of the arguments, please see :meth:`telegram.Bot.forward_message`.

        .. seealso:: :meth:`forward_from`, :meth:`forward_messages_from`,
            :meth:`forward_messages_to`

        .. versionadded:: 20.0

        Returns:
            :class:`telegram.Message`: On success, instance representing the message posted.

        )rY  rq   r   r   rk   rl   rm   rn   r@   r   r   Nrh  )rH   rq   r   r   r   r   rk   rl   rm   rn   r@   s              rJ   
forward_toz_ChatBase.forward_toU	  sU     : \\^33!!5%'+%!+/ 4 
 
 	
 
rk  c                   K   | j                         j                  | j                  |||||||||	|
       d{   S 7 w)a  Shortcut for::

             await bot.forward_messages(chat_id=update.effective_chat.id, *args, **kwargs)

        For the documentation of the arguments, please see :meth:`telegram.Bot.forward_messages`.

        .. seealso:: :meth:`forward_to`, :meth:`forward_from`, :meth:`forward_messages_to`.

        .. versionadded:: 20.8

        Returns:
            Tuple[:class:`telegram.MessageId`]: On success, a tuple of :class:`~telegram.MessageId`
            of sent messages is returned.

        )rq   rY  r   r   r   r   rk   rl   rm   rn   r@   Nrr   forward_messagesr9   )rH   rY  r   r   r   r   rk   rl   rm   rn   r@   s              rJ   forward_messages_fromz_ChatBase.forward_messages_from	  sU     : \\^44GG%#!5+/%'+%! 5 
 
 	
 
rk  c                   K   | j                         j                  | j                  |||||||||	|
       d{   S 7 w)a  Shortcut for::

             await bot.forward_messages(from_chat_id=update.effective_chat.id, *args, **kwargs)

        For the documentation of the arguments, please see :meth:`telegram.Bot.forward_messages`.

        .. seealso:: :meth:`forward_from`, :meth:`forward_to`, :meth:`forward_messages_from`.

        .. versionadded:: 20.8

        Returns:
            Tuple[:class:`telegram.MessageId`]: On success, a tuple of :class:`~telegram.MessageId`
            of sent messages is returned.

        )rY  rq   r   r   r   r   rk   rl   rm   rn   r@   Nro  )rH   rq   r   r   r   r   rk   rl   rm   rn   r@   s              rJ   forward_messages_toz_ChatBase.forward_messages_to	  sU     : \\^44#!5+/%'+%! 5 
 
 	
 
rk  c                |   K   | j                         j                  | j                  |||||       d{   S 7 w)aS  Shortcut for::

             await bot.export_chat_invite_link(chat_id=update.effective_chat.id, *args, **kwargs)

        For the documentation of the arguments, please see
        :meth:`telegram.Bot.export_chat_invite_link`.

        .. versionadded:: 13.4

        Returns:
            :obj:`str`: New invite link on success.

        rp   N)rr   export_chat_invite_linkr9   rt   s         rJ   export_invite_linkz_ChatBase.export_invite_link	  sF     , \\^;;GG%'+%! < 
 
 	
 
rv   expire_datemember_limitcreates_join_requestr   c                   K   | j                         j                  | j                  |||||||	||
       d{   S 7 w)a  Shortcut for::

             await bot.create_chat_invite_link(chat_id=update.effective_chat.id, *args, **kwargs)

        For the documentation of the arguments, please see
        :meth:`telegram.Bot.create_chat_invite_link`.

        .. versionadded:: 13.4

        .. versionchanged:: 13.8
           Edited signature according to the changes of
           :meth:`telegram.Bot.create_chat_invite_link`.

        Returns:
            :class:`telegram.ChatInviteLink`

        )
rq   rw  rx  rk   rl   rm   rn   r@   rZ   ry  N)rr   create_chat_invite_linkr9   )
rH   rw  rx  rZ   ry  rk   rl   rm   rn   r@   s
             rJ   create_invite_linkz_ChatBase.create_invite_link	  sR     < \\^;;GG#%%'+%!!5 < 
 
 	
 
r   invite_linkc                   K   | j                         j                  | j                  |||||||	|
||       d{   S 7 w)a  Shortcut for::

             await bot.edit_chat_invite_link(chat_id=update.effective_chat.id, *args, **kwargs)

        For the documentation of the arguments, please see
        :meth:`telegram.Bot.edit_chat_invite_link`.

        .. versionadded:: 13.4

        .. versionchanged:: 13.8
           Edited signature according to the changes of :meth:`telegram.Bot.edit_chat_invite_link`.

        Returns:
            :class:`telegram.ChatInviteLink`

        )rq   r}  rw  rx  rk   rl   rm   rn   r@   rZ   ry  N)rr   edit_chat_invite_linkr9   )rH   r}  rw  rx  rZ   ry  rk   rl   rm   rn   r@   s              rJ   edit_invite_linkz_ChatBase.edit_invite_link 
  sU     < \\^99GG##%%'+%!!5 : 
 
 	
 
rk  c          	      ~   K   | j                         j                  | j                  ||||||       d{   S 7 w)aL  Shortcut for::

             await bot.revoke_chat_invite_link(chat_id=update.effective_chat.id, *args, **kwargs)

        For the documentation of the arguments, please see
        :meth:`telegram.Bot.revoke_chat_invite_link`.

        .. versionadded:: 13.4

        Returns:
            :class:`telegram.ChatInviteLink`

        )rq   r}  rk   rl   rm   rn   r@   N)rr   revoke_chat_invite_linkr9   )rH   r}  rk   rl   rm   rn   r@   s          rJ   revoke_invite_linkz_ChatBase.revoke_invite_linkL
  sI     . \\^;;GG#%'+%! < 
 
 	
 
r   subscription_periodsubscription_pricec                   K   | j                         j                  | j                  ||||||||	       d{   S 7 w)a  Shortcut for::

            await bot.create_chat_subscription_invite_link(
                chat_id=update.effective_chat.id, *args, **kwargs
            )

        For the documentation of the arguments, please see
        :meth:`telegram.Bot.create_chat_subscription_invite_link`.

        .. versionadded:: 21.5

        Returns:
            :class:`telegram.ChatInviteLink`
        )	rq   r  r  rZ   rk   rl   rm   rn   r@   N)rr   $create_chat_subscription_invite_linkr9   )	rH   r  r  rZ   rk   rl   rm   rn   r@   s	            rJ   create_subscription_invite_linkz)_ChatBase.create_subscription_invite_linkm
  sP     4 \\^HHGG 31%'+%! I 

 

 
	
 

r   c          
         K   | j                         j                  | j                  |||||||       d{   S 7 w)a  Shortcut for::

            await bot.edit_chat_subscription_invite_link(
                chat_id=update.effective_chat.id, *args, **kwargs
            )

        For the documentation of the arguments, please see
        :meth:`telegram.Bot.edit_chat_subscription_invite_link`.

        .. versionadded:: 21.5

        Returns:
            :class:`telegram.ChatInviteLink`

        )rq   r}  rk   rl   rm   rn   r@   rZ   N)rr   "edit_chat_subscription_invite_linkr9   )rH   r}  rZ   rk   rl   rm   rn   r@   s           rJ   edit_subscription_invite_linkz'_ChatBase.edit_subscription_invite_link
  sM     4 \\^FFGG#%'+%! G 	
 	
 		
 	
r   c          	      ~   K   | j                         j                  | j                  ||||||       d{   S 7 w)aa  Shortcut for::

             await bot.approve_chat_join_request(chat_id=update.effective_chat.id, *args, **kwargs)

        For the documentation of the arguments, please see
        :meth:`telegram.Bot.approve_chat_join_request`.

        .. versionadded:: 13.8

        Returns:
            :obj:`bool`: On success, :obj:`True` is returned.

        r   N)rr   approve_chat_join_requestr9   r   s          rJ   approve_join_requestz_ChatBase.approve_join_request
  I     . \\^==GG%'+%! > 
 
 	
 
r   c          	      ~   K   | j                         j                  | j                  ||||||       d{   S 7 w)aa  Shortcut for::

             await bot.decline_chat_join_request(chat_id=update.effective_chat.id, *args, **kwargs)

        For the documentation of the arguments, please see
        :meth:`telegram.Bot.decline_chat_join_request`.

        .. versionadded:: 13.8

        Returns:
            :obj:`bool`: On success, :obj:`True` is returned.

        r   N)rr   decline_chat_join_requestr9   r   s          rJ   decline_join_requestz_ChatBase.decline_join_request
  r  r   menu_buttonc          	      ~   K   | j                         j                  | j                  ||||||       d{   S 7 w)a  Shortcut for::

             await bot.set_chat_menu_button(chat_id=update.effective_chat.id, *args, **kwargs)

        For the documentation of the arguments, please see
        :meth:`telegram.Bot.set_chat_menu_button`.

        Caution:
            Can only work, if the chat is a private chat.

        .. seealso:: :meth:`get_menu_button`

        .. versionadded:: 20.0

        Returns:
            :obj:`bool`: On success, :obj:`True` is returned.
        )rq   r  rk   rl   rm   rn   r@   N)rr   set_chat_menu_buttonr9   )rH   r  rk   rl   rm   rn   r@   s          rJ   set_menu_buttonz_ChatBase.set_menu_button
  sI     6 \\^88GG#%'+%! 9 
 
 	
 
r   
icon_coloricon_custom_emoji_idc                   K   | j                         j                  | j                  ||||||||	       d{   S 7 w)a=  Shortcut for::

             await bot.create_forum_topic(chat_id=update.effective_chat.id, *args, **kwargs)

        For the documentation of the arguments, please see
        :meth:`telegram.Bot.create_forum_topic`.

        .. versionadded:: 20.0

        Returns:
            :class:`telegram.ForumTopic`
        )	rq   rZ   r  r  rk   rl   rm   rn   r@   N)rr   create_forum_topicr9   )	rH   rZ   r  r  rk   rl   rm   rn   r@   s	            rJ   r  z_ChatBase.create_forum_topic  sO     0 \\^66GG!!5%'+%! 7 

 

 
	
 

r   c                   K   | j                         j                  | j                  ||||||||	       d{   S 7 w)aN  Shortcut for::

             await bot.edit_forum_topic(chat_id=update.effective_chat.id, *args, **kwargs)

        For the documentation of the arguments, please see
        :meth:`telegram.Bot.edit_forum_topic`.

        .. versionadded:: 20.0

        Returns:
            :obj:`bool`: On success, :obj:`True` is returned.
        )	rq   r   rZ   r  rk   rl   rm   rn   r@   N)rr   edit_forum_topicr9   )	rH   r   rZ   r  rk   rl   rm   rn   r@   s	            rJ   r  z_ChatBase.edit_forum_topicC  sO     0 \\^44GG/!5%'+%! 5 

 

 
	
 

r   c          	      ~   K   | j                         j                  | j                  ||||||       d{   S 7 w)aP  Shortcut for::

             await bot.close_forum_topic(chat_id=update.effective_chat.id, *args, **kwargs)

        For the documentation of the arguments, please see
        :meth:`telegram.Bot.close_forum_topic`.

        .. versionadded:: 20.0

        Returns:
            :obj:`bool`: On success, :obj:`True` is returned.
        rq   r   rk   rl   rm   rn   r@   N)rr   close_forum_topicr9   rH   r   rk   rl   rm   rn   r@   s          rJ   r  z_ChatBase.close_forum_topicg  sI     , \\^55GG/%'+%! 6 
 
 	
 
r   c          	      ~   K   | j                         j                  | j                  ||||||       d{   S 7 w)aR  Shortcut for::

             await bot.reopen_forum_topic(chat_id=update.effective_chat.id, *args, **kwargs)

        For the documentation of the arguments, please see
        :meth:`telegram.Bot.reopen_forum_topic`.

        .. versionadded:: 20.0

        Returns:
            :obj:`bool`: On success, :obj:`True` is returned.
        r  N)rr   reopen_forum_topicr9   r  s          rJ   r  z_ChatBase.reopen_forum_topic  I     , \\^66GG/%'+%! 7 
 
 	
 
r   c          	      ~   K   | j                         j                  | j                  ||||||       d{   S 7 w)aR  Shortcut for::

             await bot.delete_forum_topic(chat_id=update.effective_chat.id, *args, **kwargs)

        For the documentation of the arguments, please see
        :meth:`telegram.Bot.delete_forum_topic`.

        .. versionadded:: 20.0

        Returns:
            :obj:`bool`: On success, :obj:`True` is returned.
        r  N)rr   delete_forum_topicr9   r  s          rJ   r  z_ChatBase.delete_forum_topic  r  r   c          	      ~   K   | j                         j                  | j                  ||||||       d{   S 7 w)az  Shortcut for::

             await bot.unpin_all_forum_topic_messages(chat_id=update.effective_chat.id,
                *args, **kwargs)

        For the documentation of the arguments, please see
        :meth:`telegram.Bot.unpin_all_forum_topic_messages`.

        .. versionadded:: 20.0

        Returns:
            :obj:`bool`: On success, :obj:`True` is returned.
        r  N)rr   unpin_all_forum_topic_messagesr9   r  s          rJ   r  z(_ChatBase.unpin_all_forum_topic_messages  sJ     . \\^BBGG/%'+%! C 
 
 	
 
r   c                |   K   | j                         j                  | j                  |||||       d{   S 7 w)a  Shortcut for::

             await bot.unpin_all_general_forum_topic_messages(chat_id=update.effective_chat.id,
                *args, **kwargs)

        For the documentation of the arguments, please see
        :meth:`telegram.Bot.unpin_all_general_forum_topic_messages`.

        .. versionadded:: 20.5

        Returns:
            :obj:`bool`: On success, :obj:`True` is returned.
        rp   N)rr   &unpin_all_general_forum_topic_messagesr9   rt   s         rJ   r  z0_ChatBase.unpin_all_general_forum_topic_messages  sG     , \\^JJGG%'+%! K 
 
 	
 
rv   c          	      ~   K   | j                         j                  | j                  ||||||       d{   S 7 w)a}  Shortcut for::

             await bot.edit_general_forum_topic(
                chat_id=update.effective_chat.id, *args, **kwargs
             )

        For the documentation of the arguments, please see
        :meth:`telegram.Bot.edit_general_forum_topic`.

        .. versionadded:: 20.0

        Returns:
            :obj:`bool`: On success, :obj:`True` is returned.
        )rq   rZ   rk   rl   rm   rn   r@   N)rr   edit_general_forum_topicr9   )rH   rZ   rk   rl   rm   rn   r@   s          rJ   r  z"_ChatBase.edit_general_forum_topic  sI     0 \\^<<GG%'+%! = 
 
 	
 
r   c                |   K   | j                         j                  | j                  |||||       d{   S 7 w)a`  Shortcut for::

             await bot.close_general_forum_topic(chat_id=update.effective_chat.id, *args, **kwargs)

        For the documentation of the arguments, please see
        :meth:`telegram.Bot.close_general_forum_topic`.

        .. versionadded:: 20.0

        Returns:
            :obj:`bool`: On success, :obj:`True` is returned.
        rp   N)rr   close_general_forum_topicr9   rt   s         rJ   r  z#_ChatBase.close_general_forum_topic)  sF     * \\^==GG%'+%! > 
 
 	
 
rv   c                |   K   | j                         j                  | j                  |||||       d{   S 7 w)a  Shortcut for::

             await bot.reopen_general_forum_topic(
                chat_id=update.effective_chat.id, *args, **kwargs
             )

        For the documentation of the arguments, please see
        :meth:`telegram.Bot.reopen_general_forum_topic`.

        .. versionadded:: 20.0

        Returns:
            :obj:`bool`: On success, :obj:`True` is returned.
        rp   N)rr   reopen_general_forum_topicr9   rt   s         rJ   r  z$_ChatBase.reopen_general_forum_topicG  F     . \\^>>GG%'+%! ? 
 
 	
 
rv   c                |   K   | j                         j                  | j                  |||||       d{   S 7 w)a^  Shortcut for::

             await bot.hide_general_forum_topic(chat_id=update.effective_chat.id, *args, **kwargs)

        For the documentation of the arguments, please see
        :meth:`telegram.Bot.hide_general_forum_topic`.

        .. versionadded:: 20.0

        Returns:
            :obj:`bool`: On success, :obj:`True` is returned.
        rp   N)rr   hide_general_forum_topicr9   rt   s         rJ   r  z"_ChatBase.hide_general_forum_topicg  sF     * \\^<<GG%'+%! = 
 
 	
 
rv   c                |   K   | j                         j                  | j                  |||||       d{   S 7 w)a  Shortcut for::

             await bot.unhide_general_forum_topic (
                chat_id=update.effective_chat.id, *args, **kwargs
             )

        For the documentation of the arguments, please see
        :meth:`telegram.Bot.unhide_general_forum_topic`.

        .. versionadded:: 20.0

        Returns:
            :obj:`bool`: On success, :obj:`True` is returned.
        rp   N)rr   unhide_general_forum_topicr9   rt   s         rJ   r  z$_ChatBase.unhide_general_forum_topic  r  rv   c                |   K   | j                         j                  | j                  |||||       d{   S 7 w)a  Shortcut for::

             await bot.get_chat_menu_button(chat_id=update.effective_chat.id, *args, **kwargs)

        For the documentation of the arguments, please see
        :meth:`telegram.Bot.get_chat_menu_button`.

        Caution:
            Can only work, if the chat is a private chat.

        .. seealso:: :meth:`set_menu_button`

        .. versionadded:: 20.0

        Returns:
            :class:`telegram.MenuButton`: On success, the current menu button is returned.
        rp   N)rr   get_chat_menu_buttonr9   rt   s         rJ   get_menu_buttonz_ChatBase.get_menu_button  sF     4 \\^88GG%'+%! 9 
 
 	
 
rv   r1   c          	      ~   K   | j                         j                  | j                  ||||||       d{   S 7 w)az  Shortcut for::

             await bot.get_user_chat_boosts(chat_id=update.effective_chat.id, *args, **kwargs)

        For the documentation of the arguments, please see
        :meth:`telegram.Bot.get_user_chat_boosts`.

        .. versionadded:: 20.8

        Returns:
            :class:`telegram.UserChatBoosts`: On success, returns the boosts applied in the chat.
        )rq   r}   r@   rk   rl   rm   rn   N)rr   get_user_chat_boostsr9   r   s          rJ   r  z_ChatBase.get_user_chat_boosts  sI     , \\^88GG!%'+% 9 
 
 	
 
r   reactionis_bigc                   K   | j                         j                  | j                  ||||||||	       d{   S 7 w)aU  Shortcut for::

             await bot.set_message_reaction(chat_id=update.effective_chat.id, *args, **kwargs)

        For the documentation of the arguments, please see
        :meth:`telegram.Bot.set_message_reaction`.

        .. versionadded:: 20.8

        Returns:
            :obj:`bool` On success, :obj:`True` is returned.
        )	rq   r   r  r  rk   rl   rm   rn   r@   N)rr   set_message_reactionr9   )	rH   r   r  r  rk   rl   rm   rn   r@   s	            rJ   r  z_ChatBase.set_message_reaction  sO     0 \\^88GG!%'+%! 9 

 

 
	
 

r   )r   r   rk   rl   rm   rn   r@   
star_countr&   c                   K   | j                         j                  | j                  |||||||||	|
|||||||||       d{   S 7 w)ak  Shortcut for::

             await bot.send_paid_media(chat_id=update.effective_chat.id, *args, **kwargs)

        For the documentation of the arguments, please see
        :meth:`telegram.Bot.send_paid_media`.

        .. versionadded:: 21.4

        Returns:
            :class:`telegram.Message`: On success, instance representing the message posted.
        )rq   r  r   r   r   r   r   r   r   r   r   r   r   rk   rl   rm   rn   r@   r   r  N)rr   send_paid_mediar9   )rH   r  r   r   r   r   r   r   r   r   r   r   r  r   r   rk   rl   rm   rn   r@   s                       rJ   r  z_ChatBase.send_paid_media  sq     F \\^33GG!!-%=!5+-%(C 3%'+%!#9) 4 
 
 	
 
r   )NNNNN)N)NN)NNNNNNNNNNNNNNN)NNNN)v__name__
__module____qualname____doc__	__slots__intstrr   boolr   rC   r   rE   rL   r   __annotations__rM   rN   rO   rP   propertyrU   rS   rY   r   rh   r   r   r   floatru   r	   ry   r|   rD   r
   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   send_actionr   r   r  r	  r  r  objectr&  r/  r4  r7  r?  rC  rG  rJ  r   rX  r]  r\  rd  rc  rj  rm  rq  rs  rv  r|  r  r  r  r  r  r  r   r  r   r  r  r  r  r  r  r  r  r  r  r  r  r  r  r   r  r  __classcell__)rI   s   @rJ   r7   r7   F   s=   
 [I  $"&$(#'#' *.  }	
 3- SM C= 4. X&6 #++22FE#J2 $,,44GU3Z46!**00E5:04&//::Jc
:9#,,44GU3Z46   8C=  " hsm  $LXc] $Lc $LLL L LBL# L# LF )5)5+7(4)-
 uo
  	

 "%
 uo
 X&
 

> )5)5+7(4)-
 uo
  	

 "%
 uo
 X&
 
 	!
F )5)5+7(4)-
 uo
  	

 "%
 uo
 X&
 

@ )5)5+7(4)-

 uo	

  
 "%
 uo
 X&
 

B +/59	 
 )5)5+7(4)- 
 
 "$ 
 U3=12	 
 uo 
   
 "% 
 uo 
 X& 
 
 
L )5)5+7(4)-

 uo	

  
 "%
 uo
 X&
 

J )5)5+7(4)-!
sCx!
 uo	!

  !
 "%!
 uo!
 X&!
 
!
N )5)5+7(4)-

 uo	

  
 "%
 uo
 X&
 

J )5)5+7(4)-!
sCx!
 uo	!

  !
 "%!
 uo!
 X&!
 
!
L *.

 )5)5+7(4)-

 !

 uo
  
 "%
 uo
 X&
 

F +/,0,0.2+//3+/.2'+*.15,0+/+/-1#D
& )5)5+7(4)-/D
D
 "$D
 $D>	D

 $D>D
 &d^D
 #4.D
 'tnD
 #4.D
 &d^D
 tnD
 "$D
 !)D
 $D>D
 #4.D
  #4.!D
" %TN#D
& uo'D
(  )D
* "%+D
, uo-D
. X&/D
0 
1D
T 6:;?(
 )5)5+7(4)-(
(
 %(
 U3=12	(

 +34.(
 uo(
  (
 "%(
 uo(
 X&(
 
(
Z <@"

 )5)5+7(4)-"
$"
 +34."

 uo"
  "
 "%"
 uo"
 X&"
 
"
R )5)5+7(4)-!
!
 !

 uo!
  !
 "%!
 uo!
 X&!
 
!
N )5)5+7(4)-!
!
 uo	!

  !
 "%!
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

 uo	

  
 "%
 uo
 X&
 

F \`!%	"
 )5)5+7(4)-"
"
 5%c0A*B!C\SV!VWX"
 	"
 uo"
  "
 "%"
 uo"
 X&"
 
"
P "&$0@D37/;*68<.204!%8
 7C-1(4)5+7(4)-+8
8
 ()8
 #	8

 SM8
 #8O#<=8
 #+4.8
 'tn8
 "$8
 ##458
 {+8
 !)8
 #8
 &.d^8
  &c]!8
" uo#8
$  %8
& "%'8
( uo)8
* X&+8
, 
-8
 8
rK   r7   c                       e Zd ZdZdZy)ChataN
  This object represents a chat.

    Objects of this class are comparable in terms of equality. Two objects of this class are
    considered equal, if their :attr:`id` is equal.

    .. versionchanged:: 20.0

        * Removed the deprecated methods ``kick_member`` and ``get_members_count``.
        * The following are now keyword-only arguments in Bot methods:
          ``location``, ``filename``, ``contact``, ``{read, write, connect, pool}_timeout``,
          ``api_kwargs``. Use a named argument for those,
          and notice that some positional arguments changed position as a result.

    .. versionchanged:: 20.0
        Removed the attribute ``all_members_are_administrators``. As long as Telegram provides
        this field for backwards compatibility, it is available through
        :attr:`~telegram.TelegramObject.api_kwargs`.

    .. versionchanged:: 21.3
        As per Bot API 7.3, most of the arguments and attributes of this class have now moved to
        :class:`telegram.ChatFullInfo`.

    Args:
        id (:obj:`int`): Unique identifier for this chat.
        type (:obj:`str`): Type of chat, can be either :attr:`PRIVATE`, :attr:`GROUP`,
            :attr:`SUPERGROUP` or :attr:`CHANNEL`.
        title (:obj:`str`, optional): Title, for supergroups, channels and group chats.
        username (:obj:`str`, optional): Username, for private chats, supergroups and channels if
            available.
        first_name (:obj:`str`, optional): First name of the other party in a private chat.
        last_name (:obj:`str`, optional): Last name of the other party in a private chat.
        is_forum (:obj:`bool`, optional): :obj:`True`, if the supergroup chat is a forum
            (has topics_ enabled).

            .. versionadded:: 20.0

    Attributes:
        id (:obj:`int`): Unique identifier for this chat.
        type (:obj:`str`): Type of chat, can be either :attr:`PRIVATE`, :attr:`GROUP`,
            :attr:`SUPERGROUP` or :attr:`CHANNEL`.
        title (:obj:`str`): Optional. Title, for supergroups, channels and group chats.
        username (:obj:`str`): Optional. Username, for private chats, supergroups and channels if
            available.
        first_name (:obj:`str`): Optional. First name of the other party in a private chat.
        last_name (:obj:`str`): Optional. Last name of the other party in a private chat.
        is_forum (:obj:`bool`): Optional. :obj:`True`, if the supergroup chat is a forum
            (has topics_ enabled).

            .. versionadded:: 20.0

    .. _topics: https://telegram.org/blog/topics-in-groups-collectible-usernames#topics-in-groups
    r%  N)r  r  r  r  r  r%  rK   rJ   r  r  G  s    3j IrK   r  N)Dr  r   htmlr   typingr   r   r   r   r	   r
   telegramr   telegram._chatpermissionsr   telegram._forumtopicr   telegram._menubuttonr   telegram._reactionr   telegram._telegramobjectr   telegram._utilsr   telegram._utils.defaultvaluer   telegram._utils.typesr   r   r   r   r   telegram.helpersr   r   rj   r   rb   r   r   r   r   r   r    r!   r"   r#   r$   r%   r&   r'   r(   r)   r*   r+   r,   r-   r.   r/   r0   r1   r2   r3   r4   r5   r7   r  r%  rK   rJ   <module>r     s   ( F   I I  5 + + + 3   5 ] ] , A I       >~3
 ~3
Bh69 6rK   