
    di:W                       d Z ddlZddlmZ ddlmZ ddlmZm	Z	 ddl
mZ ddlmZ ddlmZ dd	lmZ dd
lmZ ddlmZ ddlmZ ddlmZ ddlmZmZmZmZmZ ddl m!Z!m"Z" ddl#m$Z$ ddl#m%Z& ddl#m'Z( erJddl
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@mAZAmBZBmCZCmDZDmEZEmFZFmGZGmHZH ddlmIZI  G d de          ZJ G d deJ          ZKdS )z?This module contains an object that represents a Telegram Chat.    N)Sequence)escape)TYPE_CHECKINGFinal)	constants)ChatPermissions)
ForumTopic)
MenuButton)ReactionType)TelegramObject)enum)DEFAULT_NONE)CorrectOptionID	FileInputJSONDictODVInput
TimePeriod)get_full_nameget_link)escape_markdown)mention_html)mention_markdown) 	AnimationAudioChatInviteLink
ChatMemberContactDocumentGiftInlineKeyboardMarkupInputChecklistInputMediaAudioInputMediaDocumentInputMediaPhotoInputMediaVideoInputPaidMediaInputPollOptionLabeledPriceLinkPreviewOptionsLocationMessageMessageEntity	MessageId
OwnedGifts	PhotoSizeReplyParametersStickerStorySuggestedPostParametersUserChatBoostsVenueVideo	VideoNoteVoice)ReplyMarkupc            N       >    e Zd ZU dZdZ	 	 	 	 	 	 dAdddedededz  dedz  d	edz  d
edz  dedz  dedz  dedz  f fdZ	e
j        j        Zee         ed<   	 e
j        j        Zee         ed<   	 e
j        j        Zee         ed<   	 e
j        j        Zee         ed<   	 e
j        j        Zee         ed<   	 ededz  fd            Zededz  fd            Zededz  fd            ZdBdedz  defdZdBdedz  defdZdBdedz  defdZeeeedddee         dee         dee         d ee         dedz  defd!Zeeeedddee         dee         dee         d ee         dedz  ded"         fd#Zeeeedddee         dee         dee         d ee         dedz  defd$Z eeeeddd%edee         dee         dee         d ee         dedz  dd&fd'Z!	 	 dCeeeeddd%ed(edz  d)ee"j#        z  dz  dee         dee         dee         d ee         dedz  defd*Z$eeeeddd+edee         dee         dee         d ee         dedz  defd,Z%eeeeddd-eez  dee         dee         dee         d ee         dedz  defd.Z&eeeeddd+edee         dee         dee         d ee         dedz  defd/Z'eeeeddd-eez  dee         dee         dee         d ee         dedz  defd0Z(	 dBeeeeddd%ed1edz  dee         dee         dee         d ee         dedz  defd2Z)	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dDeeeeddd%ed3edz  d4edz  d5edz  d6edz  d7edz  d8edz  d9edz  d:edz  d;edz  d<edz  d=edz  d>edz  d?edz  d@edz  dAedz  dBedz  dCedz  dee         dee         dee         d ee         dedz  def0dDZ*	 	 dCeeeeddd%edEe+d)ee"j#        z  dz  dFedz  dee         dee         dee         d ee         dedz  defdGZ,	 dBeeeedddEe+dFedz  dee         dee         dee         d ee         dedz  defdHZ-eeeeddd%edIedee         dee         dee         d ee         dedz  defdJZ.eeeedddKe/dee         dee         dee         d ee         dedz  defdLZ0eeeedddee         dee         dee         d ee         dedz  defdMZ1eeeedddedee         dee         dee         d ee         dedz  defdNZ2	 dBeeeedddOedz  dee         dee         dee         d ee         dedz  defdPZ3edfeeeedddQedRee         dSedz  dee         dee         dee         d ee         dedz  defdTZ4	 	 dCeeeedddQedz  dSedz  dee         dee         dee         d ee         dedz  defdUZ5eeeedddee         dee         dee         d ee         dedz  defdVZ6eeddededdddddfdedeeeeddWdXedYee         dRee         dZd[d\e7d]         dz  d^ee         d_edz  d`eda         dbdcdSedz  ddedz  deedz  dfedz  dgdhdiedz  djee         dkedz  dee         dee         dee         d ee         dedz  ddlf.dmZ8dedfeeeedddnedXed_edz  dYee         d\e7d]         dz  dee         dee         dee         d ee         dedz  defdoZ9eeeedddQedee         dee         dee         d ee         dedz  defdpZ:eeeedddqe7e         dee         dee         dee         d ee         dedz  defdrZ;eeddddddfdeeeeeddedds
dte7du         dRee         d^ee         d_edz  dbdcdSedz  ddedz  deedz  dfedz  diedz  djee         dee         dee         dee         d ee         dedz  dvedz  dYee         dwe7d]         dz  dedx         f(dyZ<	 	 dCeeeedddzed_edz  dSedz  dee         dee         dee         d ee         dedz  defd{Z=e=Z>	 dedededddddddddfdedeeeedd|dKd}dvedz  dRee         dZd[dYee         dwe7d]         dz  d^ee         d_edz  d~edz  dbdcdSedz  ddedz  deedz  dedz  dfedz  dgdhdiedz  djee         dedz  dee         dee         dee         d ee         dedz  ddlf2dZ?dddeddedddddddfdedeeeedddedz  d	edz  d
edz  dRee         dZd[dedz  d^ee         d_edz  dbdcdSedz  ddedz  deedz  dfedz  dgdhdiedz  djee         dddee         dee         dee         d ee         dedz  ddlf.dZ@ddddedededdddddddfdedeeeedd|dddeAdz  dedz  dedz  dvedz  dRee         dZd[dYee         dwe7d]         dz  d^ee         d_edz  dddbdcdSedz  ddedz  deedz  dfedz  dgdhdiedz  djee         dedz  dee         dee         dee         d ee         dedz  ddlf6dZBdededdeddddddddfdedeeeedd|dddvedz  dRee         dZd[dYee         dedz  dwe7d]         dz  d^ee         d_edz  dddbdcdSedz  ddedz  deedz  dfedz  dgdhdiedz  djee         dedz  dee         dee         dee         d ee         dedz  ddlf2dZCededdfdeeeeedddSedddRee         dZdd^ee         dbdcddedz  diedz  djee         dee         dee         dee         d ee         dedz  ddlfdZDeddedddddddfdeeeeedddRee         dZd[dedz  d^ee         d_edz  dbdcdSedz  ddedz  deedz  dfedz  dgdhdiedz  djee         dee         dee         dee         d ee         dedz  ddlf&dZEededddddfdeeeeedddedRee         dZdd^ee         d_edz  dbdcdSedz  ddedz  deedz  diedz  djee         dee         dee         dee         d ee         dedz  ddlf"dZFdddddddddddeddddddeddddddfdeeeeedddedOededede7d         dedz  dedz  dedz  dedz  dedz  dedz  dedz  dedz  dedz  dedz  dedz  dRee         dZddeeGz  dz  dedz  dedz  dedz  de7e         dz  d^ee         d_edz  dbdcddedz  deedz  dfedz  dgdhdiedz  djee         dee         dee         dee         d ee         dedz  ddlfLdZHddedddddedddddddfdedeeeedddedz  dedz  dRee         dZd[deAdz  dedz  dedz  dedz  d^ee         d_edz  dbdcdSedz  ddedz  deedz  dfedz  dgdhdiedz  djee         dddee         dee         dee         d ee         dedz  ddlf2dZIddddeeddeddddddddddfdedeeeedd|dddeAdz  dedz  dedz  dvedz  dYee         dRee         dZd[dwe7d]         dz  d^ee         d_edz  d~edz  dddbdcdSedz  ddedz  deedz  dedz  dfedz  dgdhdiedz  djee         dedz  dee         dee         dee         d ee         dedz  ddlf:dZJededdddddddfdeeeeedddddRee         dZd[d^ee         d_edz  dedz  dbdcdSedz  ddedz  deedz  dfedz  dgdhdiedz  djee         dee         dee         dee         d ee         dedz  ddlf(dZKdddddeddddedddddddfdedeeeeddÜdedz  dedz  dedz  dedz  dedz  dRee         dZd[dedz  dedz  dedz  d^ee         d_edz  dbdcdSedz  ddedz  deedz  dfedz  dgdhdiedz  djee         dddee         dee         dee         d ee         dedz  ddlf6d˄ZLddedddeddeddddddddddddfdedeeeedd|dddeAdz  dvedz  dRee         dZd[dedz  dedz  dYee         dedz  dwe7d]         dz  d^ee         d_edz  d~edz  dddbdcdSedz  ddedz  deedz  dedz  dddedz  dfedz  dgdhdiedz  djee         dedz  dee         dee         dee         d ee         dedz  ddlf@dфZMddededdddddddfdedeeeedd|dddeAdz  dedz  dRee         dZd[d^ee         d_edz  dddbdcdSedz  ddedz  deedz  dfedz  dgdhdiedz  djee         dedz  dee         dee         dee         d ee         dedz  ddlf.dՄZNddedededddddddfdedeeeedd|dddeAdz  dvedz  dRee         dZd[dYee         dwe7d]         dz  d^ee         d_edz  dbdcdSedz  ddedz  deedz  dfedz  dgdhdiedz  djee         dedz  dee         dee         dee         d ee         dedz  ddlf0d؄ZOdddddeddedddedddedddfdeeeeedddede7d         d;edz  dedz  dedz  dePdz  dedz  dRee         dZd[dedz  dee         deAdz  dee"j#        z  dz  de7d]         dz  d^ee         d_edz  dbdcdSedz  dee         de7d]         dz  ddedz  deedz  diedz  djee         dee         dee         dee         d ee         dedz  ddlf<dZQdedededdddddddfdeeeeedddeez  dQedvedz  dYee         dwe7d]         dz  dRee         dZd[d^ee         d_edz  dbdcdedz  deedz  dedz  dfedz  dgdhddedz  diedz  djee         dee         dee         dee         d ee         dedz  ddf0dZRdedededdddddddfdeeeeeddd-eez  dQedvedz  dYee         dwe7d]         dz  dRee         dZd[d^ee         d_edz  dbdcdedz  deedz  dedz  dfedz  dgdhddedz  diedz  djee         dee         dee         dee         d ee         dedz  ddf0dZSeedddfeeeedddeez  dqe7e         dRee         d^ee         d_edz  dedz  dfedz  dee         dee         dee         d ee         dedz  ded         fdZTeedddfeeeeddd-eez  dqe7e         dRee         d^ee         d_edz  dedz  dfedz  dee         dee         dee         d ee         dedz  ded         fdZUeedddddfeeeedddeez  dQedRee         d^ee         d_edz  dedz  dfedz  dgdhddedz  dee         dee         dee         d ee         dedz  ddlfdZVeedddddfeeeeddd-eez  dQedRee         d^ee         d_edz  dedz  dfedz  dgdhddedz  dee         dee         dee         d ee         dedz  ddlfdZWeeddfeeeedddeez  dqe7e         dRee         d^ee         d_edz  dfedz  dee         dee         dee         d ee         dedz  ded         fdZXeeddfeeeeddd-eez  dqe7e         dRee         d^ee         d_edz  dfedz  dee         dee         dee         d ee         dedz  ded         fdZYeeeedddee         dee         dee         d ee         dedz  defdZZ	 	 	 	 dEeeeedddee"j#        z  dz  dedz  dedz  dedz  dee         dee         dee         d ee         dedz  ddfdZ[	 	 	 	 dEeeeedddddee"j#        z  dz  dedz  dedz  dedz  dee         dee         dee         d ee         dedz  ddfdZ\eeeedddddee         dee         dee         d ee         dedz  ddfdZ]	 dBeeeedddeAdededz  dee         dee         dee         d ee         dedz  ddfd Z^	 dBeeeedddddedz  dee         dee         dee         d ee         dedz  ddfdZ_eeeeddd%edee         dee         dee         d ee         dedz  defdZ`eeeeddd%edee         dee         dee         d ee         dedz  defdZa	 dBeeeedddebdz  dee         dee         dee         d ee         dedz  defdZc	 	 dCeeeedddededz  dedz  dee         dee         dee         d ee         dedz  dedfdZe	 	 dCeeeeddd_ededz  dedz  dee         dee         dee         d ee         dedz  defd	Zfeeeeddd_edee         dee         dee         d ee         dedz  defd
Zgeeeeddd_edee         dee         dee         d ee         dedz  defdZheeeeddd_edee         dee         dee         d ee         dedz  defdZieeeeddd_edee         dee         dee         d ee         dedz  defdZjeeeedddee         dee         dee         d ee         dedz  defdZkeeeedddedee         dee         dee         d ee         dedz  defdZleeeedddee         dee         dee         d ee         dedz  defdZmeeeedddee         dee         dee         d ee         dedz  defdZneeeedddee         dee         dee         d ee         dedz  defdZoeeeedddee         dee         dee         d ee         dedz  defdZpeeeedddee         dee         dee         d ee         dedz  debfdZqeeeeddd%edee         dee         dee         d ee         dedz  ddfdZr	 	 dCeeeedddQede7esez           esz  ez  dz  dedz  dee         dee         dee         d ee         dedz  defdZtdeddeeddddddddfedeeeedddedte7d         dvedz  dYee         dwe7d]         dz  dedz  dRee         d^ee         dbdcdZd[dSedz  dedz  deedz  dfedz  dgdhd_edz  djee         diedz  dee         dee         dee         d ee         dedz  ddlf0dZudeddfeeeedddddXedz  d ee         d!e7d]         dz  d"edz  dee         dee         dee         d ee         dedz  defd#Zv	 dBeeeedddSed$ededz  dee         dee         dee         d ee         dedz  defd%Zw	 dBeeeeddd&edz  dee         dee         dee         d ee         dedz  defd'Zxeeeedddee         dee         dee         d ee         dedz  defd(ZyeeeedddSedQedee         dee         dee         d ee         dedz  defd)Zz	 dBeeeedddQed*ee"j#        z  dz  dee         dee         dee         d ee         dedz  defd+Z{	 dBeeeedddQed,edz  dee         dee         dee         d ee         dedz  defd-Z|defeeeedddSed.ed/eAd0edz  d^ee         dee         dee         dee         d ee         dedz  dd1fd2Z}	 	 	 	 	 	 	 	 	 	 dFeeeeddd3edz  d4edz  d5edz  d6edz  d7edz  d8edz  d9edz  d:edz  d;edz  d<edz  dee         dee         dee         d ee         dedz  dd=f d>Z~	 dBeeeeddd%ed?edz  dee         dee         dee         d ee         dedz  defd@Z xZS (G  	_ChatBasezjBase class for :class:`telegram.Chat` and :class:`telegram.ChatFullInfo`.

    .. versionadded:: 21.3
    )
first_nameidis_direct_messagesis_forum	last_nametitletypeusernameN
api_kwargsr=   rB   rA   rC   r<   r@   r?   r>   rE   c	                :   t                                          |	           || _        t          j        t
          j        ||          | _        || _        || _	        || _
        || _        || _        || _        | j        f| _        |                                  d S )NrD   )super__init__r=   r   
get_memberr   ChatTyperB   rA   rC   r<   r@   r?   r>   	_id_attrs_freeze)selfr=   rB   rA   rC   r<   r@   r?   r>   rE   	__class__s             K/root/projects/qq-shell/venv/lib/python3.11/site-packages/telegram/_chat.pyrH   z_ChatBase.__init__f   s     	J///);T4HH	!&
$,&0%.%-/A'    SENDERPRIVATEGROUP
SUPERGROUPCHANNELreturnc                 >    | j         | j         S | j        | j        S dS )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)rA   	full_namerM   s    rO   effective_namez_ChatBase.effective_name   s)     :!:>%>!trP   c                      t          |           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
        )r   rY   s    rO   rX   z_ChatBase.full_name   s     T"""rP   c                      t          |           S )z}:obj:`str`: Convenience property. If the chat has a :attr:`~Chat.username`, returns a
        t.me link of the chat.
        )r   rY   s    rO   linkz_ChatBase.link   s    
 ~~rP   namec                 N   | j         | j        k    rG|rt          | j        |          S | j        rt          | j        | j                  S t          d          | j        r9|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)	rB   rR   helpers_mention_markdownr=   rX   	TypeErrorrC   r]   rA   rM   r^   s     rO   r   z_ChatBase.mention_markdown   s    0 9$$ ?/>>>~ I/HHH[\\\= 	W 0/4//49////z 654:555555UVVVJKKKrP   c                    | j         | j        k    rK|rt          | j        |d          S | j        rt          | j        | j        d          S t          d          | j        rW|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`   ra   rb   rc   rd   re   )
rB   rR   rf   r=   rX   rg   rC   r   r]   rA   rh   s     rO   mention_markdown_v2z_ChatBase.mention_markdown_v2   s    & 9$$ J/qIIII~ T/QRSSSS[\\\= 	W LK?4;;;KKtyKKKKz RQ?4:qAAAQQTYQQQQUVVVJKKKrP   c                    | j         | j        k    rG|rt          | j        |          S | j        rt          | j        | j                  S t          d          | j        rS|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>rd   re   )
rB   rR   helpers_mention_htmlr=   rX   rg   rC   r]   r   rA   rh   s     rO   r   z_ChatBase.mention_html   s    $ 9$$ ;+DGT:::~ E+DGT^DDD[\\\= 	W CB49BBtBBBBz IH49HHtz0B0BHHHHUVVVJKKKrP   )read_timeoutwrite_timeoutconnect_timeoutpool_timeoutrE   ro   rp   rq   rr   c                v   K   |                                                      | j        |||||           d{V S )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_idro   rp   rq   rr   rE   N)get_bot
leave_chatr=   rM   ro   rp   rq   rr   rE   s         rO   leavez_ChatBase.leave  s_      & \\^^..G%'+%! / 
 
 
 
 
 
 
 
 	
rP   )r   .c                v   K   |                                                      | j        |||||           d{V S )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.

        rt   N)rv   get_chat_administratorsr=   rx   s         rO   get_administratorsz_ChatBase.get_administrators7  s_      . \\^^;;G%'+%! < 
 
 
 
 
 
 
 
 	
rP   c                v   K   |                                                      | j        |||||           d{V S )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`
        rt   N)rv   get_chat_member_countr=   rx   s         rO   get_member_countz_ChatBase.get_member_countW  s_      & \\^^99G%'+%! : 
 
 
 
 
 
 
 
 	
rP   user_idr   c          	      x   K   |                                                      | j        ||||||           d{V S )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`

        ru   r   ro   rp   rq   rr   rE   N)rv   get_chat_memberr=   rM   r   ro   rp   rq   rr   rE   s          rO   rI   z_ChatBase.get_members  sb      ( \\^^33G%'+%! 4 
 
 
 
 
 
 
 
 	
rP   revoke_messages
until_datec                |   K   |                                                      | j        ||||||||	  	         d{V S )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.
        )	ru   r   ro   rp   rq   rr   r   rE   r   N)rv   ban_chat_memberr=   )	rM   r   r   r   ro   rp   rq   rr   rE   s	            rO   
ban_memberz_ChatBase.ban_member  sh      , \\^^33G%'+%!!+ 4 

 

 

 

 

 

 

 

 
	
rP   sender_chat_idc          	      x   K   |                                                      | j        ||||||           d{V S )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.

        ru   r   ro   rp   rq   rr   rE   Nrv   ban_chat_sender_chatr=   rM   r   ro   rp   rq   rr   rE   s          rO   ban_sender_chatz_ChatBase.ban_sender_chat  sb      . \\^^88G)%'+%! 9 
 
 
 
 
 
 
 
 	
rP   ru   c          	      x   K   |                                                      || j        |||||           d{V S )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   rM   ru   ro   rp   rq   rr   rE   s          rO   ban_chatz_ChatBase.ban_chat  sb      2 \\^^887%'+%! 9 
 
 
 
 
 
 
 
 	
rP   c          	      x   K   |                                                      | j        ||||||           d{V S )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   Nrv   unban_chat_sender_chatr=   r   s          rO   unban_sender_chatz_ChatBase.unban_sender_chat  sb      . \\^^::G)%'+%! ; 
 
 
 
 
 
 
 
 	
rP   c          	      x   K   |                                                      || j        |||||           d{V S )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          rO   
unban_chatz_ChatBase.unban_chat  sb      2 \\^^::7%'+%! ; 
 
 
 
 
 
 
 
 	
rP   only_if_bannedc          
      z   K   |                                                      | j        |||||||           d{V S )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.

        )ru   r   ro   rp   rq   rr   rE   r   N)rv   unban_chat_memberr=   )rM   r   r   ro   rp   rq   rr   rE   s           rO   unban_memberz_ChatBase.unban_member;  se      * \\^^55G%'+%!) 6 	
 	
 	
 	
 	
 	
 	
 	
 		
rP   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_storiescan_manage_direct_messagescan_manage_tagsc                   K   |                                                      | j        |||||||||	||||||
||||||||           d{V S )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.

        )ru   r   r   r   r   r   r   r   r   r   ro   rp   rq   rr   rE   r   r   r   r   r   r   r   r   r   N)rv   promote_chat_memberr=   )rM   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   ro   rp   rq   rr   rE   s                           rO   promote_memberz_ChatBase.promote_member[  s      ^ \\^^77G+// 3-!5- 3%'+%!%+#9/--1'A+1 8 
 
 
 
 
 
 
 
 	
rP   permissions use_independent_chat_permissionsc                ~   K   |                                                      | j        |||||||||	
  
         d{V S )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.

        )
ru   r   r   r   r   ro   rp   rq   rr   rE   N)rv   restrict_chat_memberr=   )
rM   r   r   r   r   ro   rp   rq   rr   rE   s
             rO   restrict_memberz_ChatBase.restrict_member  sk      : \\^^88G#!-M%'+%! 9 
 
 
 
 
 
 
 
 	
rP   c          
      z   K   |                                                      | j        |||||||           d{V S )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.

        )ru   r   r   ro   rp   rq   rr   rE   N)rv   set_chat_permissionsr=   )rM   r   r   ro   rp   rq   rr   rE   s           rO   set_permissionsz_ChatBase.set_permissions  se      2 \\^^88G#-M%'+%! 9 	
 	
 	
 	
 	
 	
 	
 	
 		
rP   custom_titlec          
      z   K   |                                                      | j        |||||||           d{V S )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.

        )ru   r   r   ro   rp   rq   rr   rE   N)rv   #set_chat_administrator_custom_titler=   )rM   r   r   ro   rp   rq   rr   rE   s           rO   set_administrator_custom_titlez(_ChatBase.set_administrator_custom_title  sf      0 \\^^GGG%%'+%! H 	
 	
 	
 	
 	
 	
 	
 	
 		
rP   photoc          	      x   K   |                                                      | j        ||||||           d{V S )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.

        )ru   r   ro   rp   rq   rr   rE   N)rv   set_chat_photor=   )rM   r   ro   rp   rq   rr   rE   s          rO   	set_photoz_ChatBase.set_photo  b      2 \\^^22G%'+%! 3 
 
 
 
 
 
 
 
 	
rP   c                v   K   |                                                      | j        |||||           d{V S )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.

        rt   N)rv   delete_chat_photor=   rx   s         rO   delete_photoz_ChatBase.delete_photo9  s_      0 \\^^55G%'+%! 6 
 
 
 
 
 
 
 
 	
rP   c          	      x   K   |                                                      | j        ||||||           d{V S )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.

        )ru   rA   ro   rp   rq   rr   rE   N)rv   set_chat_titler=   )rM   rA   ro   rp   rq   rr   rE   s          rO   	set_titlez_ChatBase.set_titleZ  r   rP   descriptionc          	      x   K   |                                                      | j        ||||||           d{V S )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.

        )ru   r   ro   rp   rq   rr   rE   N)rv   set_chat_descriptionr=   )rM   r   ro   rp   rq   rr   rE   s          rO   set_descriptionz_ChatBase.set_description}  sb      2 \\^^88G#%'+%! 9 
 
 
 
 
 
 
 
 	
rP   
message_iddisable_notificationbusiness_connection_idc                |   K   |                                                      | j        ||||||||	  	         d{V S )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.

        )	ru   r   r   ro   rp   rq   rr   rE   r   N)rv   pin_chat_messager=   )	rM   r   r   r   ro   rp   rq   rr   rE   s	            rO   pin_messagez_ChatBase.pin_message  sh      . \\^^44G!!5%'+%!#9 5 

 

 

 

 

 

 

 

 
	
rP   c          
      z   K   |                                                      | j        |||||||           d{V S )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.

        )ru   ro   rp   rq   rr   rE   r   r   N)rv   unpin_chat_messager=   )rM   r   r   ro   rp   rq   rr   rE   s           rO   unpin_messagez_ChatBase.unpin_message  se      , \\^^66G%'+%!!#9 7 	
 	
 	
 	
 	
 	
 	
 	
 		
rP   c                v   K   |                                                      | j        |||||           d{V S )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.

        rt   N)rv   unpin_all_chat_messagesr=   rx   s         rO   unpin_all_messagesz_ChatBase.unpin_all_messages  s_      ( \\^^;;G%'+%! < 
 
 
 
 
 
 
 
 	
rP   )reply_to_message_idallow_sending_without_replydisable_web_page_previewro   rp   rq   rr   rE   text
parse_modereply_markupzReplyMarkup | Noneentitiesr,   protect_contentmessage_thread_idlink_preview_optionsr)   reply_parameterszReplyParameters | Nonemessage_effect_idallow_paid_broadcastdirect_messages_topic_idsuggested_post_parameterszSuggestedPostParameters | Noner   r   r   r+   c                   K   |                                                      | j        |||||||	|||||||||||
||||           d{V S )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.

        )ru   r   r   r   r   r   r   r   r   r   r   r   r   ro   rp   rq   rr   rE   r   r   r   r   r   N)rv   send_messager=   )rM   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   ro   rp   rq   rr   rE   s                          rO   r   z_ChatBase.send_message  s      H \\^^00G!%=!5 3!5-%(C+/%'+%!#9/!5%=&?/ 1 
 
 
 
 
 
 
 
 	
rP   draft_idc                   K   |                                                      | j        |||||||||	|
           d{V S )a#  Shortcut for::

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

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

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

        )ru   r   r   r   r   r   ro   rp   rq   rr   rE   N)rv   send_message_draftr=   )rM   r   r   r   r   r   ro   rp   rq   rr   rE   s              rO   r   z_ChatBase.send_message_draft?  sn      0 \\^^66G/!%'+%! 7 
 
 
 
 
 
 
 
 	
rP   c          	      x   K   |                                                      | j        ||||||           d{V S )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.

        )ru   r   ro   rp   rq   rr   rE   N)rv   delete_messager=   )rM   r   ro   rp   rq   rr   rE   s          rO   r   z_ChatBase.delete_messagee  sb      , \\^^22G!%'+%! 3 
 
 
 
 
 
 
 
 	
rP   message_idsc          	      x   K   |                                                      | j        ||||||           d{V S )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.

        )ru   r   ro   rp   rq   rr   rE   N)rv   delete_messagesr=   )rM   r   ro   rp   rq   rr   rE   s          rO   r   z_ChatBase.delete_messages  sb      , \\^^33G#%'+%! 4 
 
 
 
 
 
 
 
 	
rP   )
r   r   ro   rp   rq   rr   rE   captionr   caption_entitiesmediazHInputMediaAudio | InputMediaDocument | InputMediaPhoto | InputMediaVideor   r   )r+   .c
       
            K   |                                                      | j        |||
||||||||||||||||	           d{V S )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.

        )ru   r   r   r   ro   rp   rq   rr   rE   r   r   r   r   r   r   r   r   r   r   r   N)rv   send_media_groupr=   )rM   r   r   r   r   r   r   r   r   r   r   r   ro   rp   rq   rr   rE   r   r   r   s                       rO   r   z_ChatBase.send_media_group  s      H \\^^44G!5 3%'+%!(C+/!--#9/!5%=) 5 
 
 
 
 
 
 
 
 	
rP   actionc                |   K   |                                                      | j        ||||||||	  	         d{V S )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.

        )	ru   r   r   ro   rp   rq   rr   rE   r   N)rv   send_chat_actionr=   )	rM   r   r   r   ro   rp   rq   rr   rE   s	            rO   r   z_ChatBase.send_chat_action  sh      , \\^^44G/%'+%!#9 5 

 

 

 

 

 

 

 

 
	
rP   )r   r   filenamero   rp   rq   rr   rE   zFileInput | PhotoSizehas_spoilershow_caption_above_mediar   c                   K   |                                                      | j        |||||
|||||||||||||	||||||           d{V S )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.

        )ru   r   r   r   r   r   r   r   r   r   r   r   r   ro   rp   rq   rr   rE   r   r   r   r   r   r   r   N)rv   
send_photor=   )rM   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   ro   rp   rq   rr   rE   s                            rO   r   z_ChatBase.send_photo  s      L \\^^..G!5 3-%!(C-+/%'+%!##9/!5%=%=&?3 / 
 
 
 
 
 
 
 
 	
rP   )r   r   contactro   rp   rq   rr   rE   phone_numbervcardr   zContact | Nonec                   K   |                                                      | j        ||||||	||||||||||||
||||           d{V S )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.

        )ru   r   r<   r@   r   r   r   r   ro   rp   rq   rr   r   r  rE   r   r   r   r   r   r   r   r   N)rv   send_contactr=   )rM   r   r<   r@   r   r   r  r   r   r   r   r   r   r   r   r   r   r   ro   rp   rq   rr   rE   s                          rO   r  z_ChatBase.send_contactG  s      H \\^^00G%!!5 3-%%'+%!(C+/#9/!5%=&?/ 1 
 
 
 
 
 
 
 
 	
rP   audiozFileInput | Audioduration	performer	thumbnailzFileInput | Nonec                   K   |                                                      | j        ||||||||||||	||
||||||||||||           d{V S )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.

        )ru   r  r  r  rA   r   r   r   r   r   r   r   r   r   r   r   ro   rp   rq   rr   rE   r  r   r   r   r   r   N)rv   
send_audior=   )rM   r  r  r  rA   r   r   r   r   r   r   r   r  r   r   r   r   r   r   r   r   r   ro   rp   rq   rr   rE   s                              rO   r	  z_ChatBase.send_audio  s      P \\^^..G!5 3-%!(C-+/%'+%!#9/!5%=&?7 / 
 
 
 
 
 
 
 
 	
rP   documentzFileInput | Documentdisable_content_type_detectionc                   K   |                                                      | j        |||||||||||||
||||||	|||||           d{V S )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.

        )ru   r
  r   r   r   r   r   r   ro   rp   rq   rr   r   r  rE   r  r   r   r   r   r   r   r   r   r   N)rv   send_documentr=   )rM   r
  r   r   r   r   r  r   r   r   r  r   r   r   r   r   r   r   r   r   ro   rp   rq   rr   rE   s                            rO   r  z_ChatBase.send_document  s      L \\^^11G!5 3-%%'+%!!+I(C-+/#9/!5%=&?3 2 
 
 
 
 
 
 
 
 	
rP   )r   r   ro   rp   rq   rr   rE   	checklistr!   zInlineKeyboardMarkup | Nonec                   K   |                                                      | j        |||||||||	|
||||           d{V S )ab  Shortcut for::

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

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

        .. versionadded:: 22.3

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

        )ru   r   r  r   r   r   r   r   r   r   ro   rp   rq   rr   rE   N)rv   send_checklistr=   )rM   r   r  r   r   r   r   r   r   r   ro   rp   rq   rr   rE   s                  rO   r  z_ChatBase.send_checklist  sz      < \\^^22G#9!5+/-% 3(C%'+%! 3 
 
 
 
 
 
 
 
 	
rP   emojic                   K   |                                                      | j        ||||||||||||||||	|
|           d{V S )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.

        )ru   r   r   r   r   ro   rp   rq   rr   r  rE   r   r   r   r   r   r   r   r   N)rv   	send_dicer=   )rM   r   r   r  r   r   r   r   r   r   r   r   r   r   ro   rp   rq   rr   rE   s                      rO   r  z_ChatBase.send_dice=  s      @ \\^^--G!5 3-%%'+%!(C+/#9/!5%=&?' . 
 
 
 
 
 
 
 
 	
rP   game_short_namec
                   K   |                                                      | j        |||
|||||||||||||	           d{V S )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.

        )ru   r  r   r   r   r   ro   rp   rq   rr   rE   r   r   r   r   r   r   N)rv   	send_gamer=   )rM   r  r   r   r   r   r   r   r   r   r   r   ro   rp   rq   rr   rE   s                    rO   r  z_ChatBase.send_games  s      < \\^^--G+!5 3-%%'+%!(C+/#9/!5# . 
 
 
 
 
 
 
 
 	
rP   payloadcurrencypricesr(   provider_tokenstart_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        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$|d%|d&| d'{V S ))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.

        ru   rA   r   r  r  r  r  r  r  r  r  r  r   r!  r"  r#  r$  r   r   r   r%  r&  r'  ro   rp   rq   rr   rE   r   r(  r)  r   r   r   r   r   r   r   N )rv   send_invoicer=   )&rM   rA   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   r   r   ro   rp   rq   rr   rE   s&                                         rO   r,  z_ChatBase.send_invoice  s0     z 1T\\^^0 '
 '
 '
GG'
%'
 $'
 G	'

 *>'
 X'
 6'
 ,O'
  i'
 "z'
 $'
 &'
  i'
 0/'
 "z'
  #8"7!'
" $#'
$ "6!5%'
& !4 3''
( &)'
* (-+'
, +H*G-'
. $:#9/'
0 &1'
2 (-3'
4 ,O5'
6 &7'
8 "z9'
: )D(C;'
< *>='
> #8"7?'
@ ,OA'
B 0/C'
D .-E'
F 0/G'
H "6!5I'
J &>%=K'
L '@&?M'
 '
 '
 '
 '
 '
 '
 '	
rP   )r   r   locationro   rp   rq   rr   rE   latitude	longitudelive_periodhorizontal_accuracyheadingproximity_alert_radiusr-  zLocation | Nonec                   K   |                                                      | j        ||||||||||||||||||	|
|||||           d{V S )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.

        )ru   r.  r/  r   r   r   r   ro   rp   rq   rr   r-  r0  rE   r1  r2  r3  r   r   r   r   r   r   r   r   N)rv   send_locationr=   )rM   r.  r/  r   r   r0  r1  r2  r3  r   r   r   r   r   r   r   r   r   r   r-  ro   rp   rq   rr   rE   s                            rO   r5  z_ChatBase.send_location  s      L \\^^11G!5 3-%%'+%#! 3#9(C+/#9/!5%=&?3 2 
 
 
 
 
 
 
 
 	
rP   	animationzFileInput | Animationwidthheightc                  K    |                                  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{V S ) 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.

        ru   r6  r  r7  r8  r   r   r   r   r   r   ro   rp   rq   rr   rE   r   r   r   r   r   r   r  r   r   r   r   r   r   Nr+  )rv   send_animationr=   )rM   r6  r  r7  r8  r   r   r   r   r   r   r   r   r  r   r   r   r   r   r   r   r   r   r   ro   rp   rq   rr   rE   s                                rO   r:  z_ChatBase.send_animationM  s     T 3T\\^^2 
 
 
GG
i
 X
 %	

 6
 G
 "z
 "6!5
 !4 3
 .-
 &
 &
 (-
 ,O
 &
  "z!
" )D(C#
$ .-%
& X'
( ,O)
* 0/+
, $-
.  i/
0 $:#91
2 0/3
4 "6!55
6 &>%=7
8 &>%=9
: '@&?;
 
 
 
 
 
 
 	
rP   stickerzFileInput | Stickerc                   K   |                                                      | j        ||||||||||||||||	|
||           d{V S )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.

        )ru   r;  r   r   r   r   ro   rp   rq   rr   rE   r   r   r   r  r   r   r   r   r   N)rv   send_stickerr=   )rM   r;  r   r   r   r   r  r   r   r   r   r   r   r   r   ro   rp   rq   rr   rE   s                       rO   r=  z_ChatBase.send_sticker  s      B \\^^00G!5 3-%%'+%!(C+/#9/!5%=&?) 1 
 
 
 
 
 
 
 
 	
rP   )r   r   venuero   rp   rq   rr   rE   addressfoursquare_idfoursquare_typegoogle_place_idgoogle_place_typer>  zVenue | Nonec                   K   |                                                      | j        |||||||||||||||||	|
||||||||           d{V S )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.

        )ru   r.  r/  rA   r?  r@  r   r   r   r   ro   rp   rq   rr   r>  rA  rE   rB  rC  r   r   r   r   r   r   r   r   N)rv   
send_venuer=   )rM   r.  r/  rA   r?  r@  r   r   rA  rB  rC  r   r   r   r   r   r   r   r   r   r   r>  ro   rp   rq   rr   rE   s                              rO   rE  z_ChatBase.send_venue  s      P \\^^..G'!5 3-%%'+%+!+/(C+/#9/!5%=&?7 / 
 
 
 
 
 
 
 
 	
rP   videozFileInput | Videosupports_streamingcoverstart_timestampc                  K    |                                  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!{V S )#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.

        ru   rF  r  r   r   r   r   r   ro   rp   rq   rr   r7  r8  r   rG  r  rH  rI  rE   r   r   r   r   r   r   r   r   r   r   r   r   Nr+  )rv   
send_videor=   ) rM   rF  r  r   r   r   r7  r8  r   rG  r   r   r   r   r  r   r   r   r   r   rH  rI  r   r   r   r   r   ro   rp   rq   rr   rE   s                                    rO   rK  z_ChatBase.send_video  s     Z /T\\^^. !
 !
 !
GG!
%!
 X!
 G	!

 "6!5!
 !4 3!
 .-!
 &!
 &!
 (-!
 ,O!
 &!
 %!
 6!
 "z!
   21!!
"  i#!
$ %%!
& ,O'!
( "z)!
* )D(C+!
, .--!
. X/!
0 ,O1!
2 0/3!
4 $5!
6 $:#97!
8 0/9!
: "6!5;!
< &>%==!
> &>%=?!
@ '@&?A!
 !
 !
 !
 !
 !
 !
 !	
rP   
video_notezFileInput | VideoNotelengthc                   K   |                                                      | j        ||||||	||||||||||||
||||           d{V S )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.

        )ru   rL  r  rM  r   r   r   r   ro   rp   rq   rr   r  rE   r   r   r   r   r   r   r   r   r   N)rv   send_video_noter=   )rM   rL  r  rM  r   r   r   r   r  r   r   r   r   r   r   r   r   r   ro   rp   rq   rr   rE   s                          rO   rO  z_ChatBase.send_video_notee  s      H \\^^33G!!5 3-%%'+%!(C+/#9/!5%=&?/ 4 
 
 
 
 
 
 
 
 	
rP   voicezFileInput | Voicec                   K   |                                                      | j        ||||||
||||||||||||	|||||           d{V S )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.

        )ru   rP  r  r   r   r   r   r   ro   rp   rq   rr   r   rE   r   r   r   r   r   r   r   r   r   r   N)rv   
send_voicer=   )rM   rP  r  r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   ro   rp   rq   rr   rE   s                           rO   rR  z_ChatBase.send_voice  s      J \\^^..G!5 3-%%'+%!!(C-+/#9/!5%=&?1 / 
 
 
 
 
 
 
 
 	
rP   questionoptionszstr | InputPollOptionallows_multiple_answerscorrect_option_id	is_closedexplanationexplanation_parse_modeopen_period
close_dateexplanation_entitiesquestion_parse_modequestion_entitiesc                
  K    |                                  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{V S )!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.

        ru   rS  rT  r   rB   rU  rV  rW  r   r   r   r   ro   rp   rq   rr   r   r   rX  rY  rZ  r[  rE   r   r\  r   r   r   r]  r^  Nr+  )rv   	send_pollr=   )rM   rS  rT  r   rB   rU  rV  rW  r   r   rX  rY  rZ  r[  r\  r   r   r   r   r]  r^  r   r   r   r   ro   rp   rq   rr   rE   s                                 rO   r`  z_ChatBase.send_poll  s     V .T\\^^- 
 
 
GG
X
 G
 &	

 
 %<$;
 0/
  i
 "6!5
 !4 3
 .-
 &
 &
 (-
 ,O
  &!
" 0/#
$ "6!5%
& $'
( $:#9)
* $+
, "z-
. "z/
0 )D(C1
2 "6!53
4 ,O5
6 0/7
8 $:#99
: !4 3;
< 0/=
 
 
 
 
 
 
 	
rP   from_chat_idvideo_start_timestampr-   c                   K   |                                                      | j        |||||||||
|||||||||	|||||           d{V S )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.

        )ru   ra  r   r   rb  r   r   r   r   r   r   r   ro   rp   rq   rr   rE   r   r   r   r   r   r   r   Nrv   copy_messager=   )rM   ra  r   r   r   r   r   r   r   r   r   r   r   rb  r   r   r   r   r   ro   rp   rq   rr   rE   s                           rO   	send_copyz_ChatBase.send_copy/	  s      N \\^^00G%!"7!-!5 3-(C%%'+%!+/%=!5%=&?/1 1 
 
 
 
 
 
 
 
 	
rP   c                   K   |                                                      | j        |||||||||
|||||||||	|||||           d{V S )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.

        )ra  ru   r   r   rb  r   r   r   r   r   r   r   ro   rp   rq   rr   rE   r   r   r   r   r   r   r   Nrd  )rM   ru   r   r   r   r   r   r   r   r   r   r   r   rb  r   r   r   r   r   ro   rp   rq   rr   rE   s                           rO   re  z_ChatBase.copy_messageq	  s      N \\^^00!"7!-!5 3-(C%%'+%!+/%=!5%=&?/1 1 
 
 
 
 
 
 
 
 	
rP   remove_caption)r-   .c                   K   |                                                      | j        ||||||||	|
|||           d{V S )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.

        )ru   ra  r   r   r   r   rh  ro   rp   rq   rr   rE   r   Nrv   copy_messagesr=   )rM   ra  r   r   r   r   rh  r   ro   rp   rq   rr   rE   s                rO   send_copiesz_ChatBase.send_copies	  st      > \\^^11G%#!5+/)%'+%!%= 2 
 
 
 
 
 
 
 
 	
rP   c                   K   |                                                      | j        ||||||||	|
|||           d{V S )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.

        )ra  ru   r   r   r   r   rh  ro   rp   rq   rr   rE   r   Nrj  )rM   ru   r   r   r   r   rh  r   ro   rp   rq   rr   rE   s                rO   rk  z_ChatBase.copy_messages	  st      > \\^^11#!5+/)%'+%!%= 2 
 
 
 
 
 
 
 
 	
rP   c
                   K   |                                                      | j        |||||
|||||||||	           d{V S )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.

        )ru   ra  r   rb  r   ro   rp   rq   rr   rE   r   r   r   r   r   Nrv   forward_messager=   )rM   ra  r   r   r   r   rb  r   r   r   ro   rp   rq   rr   rE   s                  rO   forward_fromz_ChatBase.forward_from
  s{      @ \\^^33G%!"7!5%'+%!+/%=&?/ 4 
 
 
 
 
 
 
 
 	
rP   c
                   K   |                                                      | j        |||||
|||||||||	           d{V S )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.

        )ra  ru   r   rb  r   ro   rp   rq   rr   rE   r   r   r   r   r   Nro  )rM   ru   r   r   r   r   rb  r   r   r   ro   rp   rq   rr   rE   s                  rO   
forward_toz_ChatBase.forward_toC
  s{      B \\^^33!"7!5%'+%!+/%=&?/ 4 
 
 
 
 
 
 
 
 	
rP   c                   K   |                                                      | j        ||||||||	|
||           d{V S )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.

        )ru   ra  r   r   r   r   ro   rp   rq   rr   rE   r   Nrv   forward_messagesr=   )rM   ra  r   r   r   r   r   ro   rp   rq   rr   rE   s               rO   forward_messages_fromz_ChatBase.forward_messages_fromv
  sq      < \\^^44G%#!5+/%'+%!%= 5 
 
 
 
 
 
 
 
 	
rP   c                   K   |                                                      | j        ||||||||	|
||           d{V S )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.

        )ra  ru   r   r   r   r   ro   rp   rq   rr   rE   r   Nru  )rM   ru   r   r   r   r   r   ro   rp   rq   rr   rE   s               rO   forward_messages_toz_ChatBase.forward_messages_to
  sq      < \\^^44#!5+/%'+%!%= 5 
 
 
 
 
 
 
 
 	
rP   c                v   K   |                                                      | j        |||||           d{V S )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.

        rt   N)rv   export_chat_invite_linkr=   rx   s         rO   export_invite_linkz_ChatBase.export_invite_link
  s_      , \\^^;;G%'+%! < 
 
 
 
 
 
 
 
 	
rP   expire_datemember_limitcreates_join_requestr   c                ~   K   |                                                      | j        |||||||	||
  
         d{V S )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`

        )
ru   r}  r~  ro   rp   rq   rr   rE   r^   r  N)rv   create_chat_invite_linkr=   )
rM   r}  r~  r^   r  ro   rp   rq   rr   rE   s
             rO   create_invite_linkz_ChatBase.create_invite_link
  sk      < \\^^;;G#%%'+%!!5 < 
 
 
 
 
 
 
 
 	
rP   invite_linkzstr | ChatInviteLinkc                   K   |                                                      | j        |||||||	|
||           d{V S )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`

        )ru   r  r}  r~  ro   rp   rq   rr   rE   r^   r  N)rv   edit_chat_invite_linkr=   )rM   r  r}  r~  r^   r  ro   rp   rq   rr   rE   s              rO   edit_invite_linkz_ChatBase.edit_invite_link  sn      < \\^^99G##%%'+%!!5 : 
 
 
 
 
 
 
 
 	
rP   c          	      x   K   |                                                      | j        ||||||           d{V S )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`

        )ru   r  ro   rp   rq   rr   rE   N)rv   revoke_chat_invite_linkr=   )rM   r  ro   rp   rq   rr   rE   s          rO   revoke_invite_linkz_ChatBase.revoke_invite_linkF  sb      . \\^^;;G#%'+%! < 
 
 
 
 
 
 
 
 	
rP   subscription_periodsubscription_pricec                |   K   |                                                      | j        ||||||||	  	         d{V S )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`
        )	ru   r  r  r^   ro   rp   rq   rr   rE   N)rv   $create_chat_subscription_invite_linkr=   )	rM   r  r  r^   ro   rp   rq   rr   rE   s	            rO   create_subscription_invite_linkz)_ChatBase.create_subscription_invite_linkg  si      4 \\^^HHG 31%'+%! I 

 

 

 

 

 

 

 

 
	
rP   c          
      z   K   |                                                      | j        |||||||           d{V S )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`

        )ru   r  ro   rp   rq   rr   rE   r^   N)rv   "edit_chat_subscription_invite_linkr=   )rM   r  r^   ro   rp   rq   rr   rE   s           rO   edit_subscription_invite_linkz'_ChatBase.edit_subscription_invite_link  sf      4 \\^^FFG#%'+%! G 	
 	
 	
 	
 	
 	
 	
 	
 		
rP   c          	      x   K   |                                                      | j        ||||||           d{V S )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)rv   approve_chat_join_requestr=   r   s          rO   approve_join_requestz_ChatBase.approve_join_request  b      . \\^^==G%'+%! > 
 
 
 
 
 
 
 
 	
rP   c          	      x   K   |                                                      | j        ||||||           d{V S )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)rv   decline_chat_join_requestr=   r   s          rO   decline_join_requestz_ChatBase.decline_join_request  r  rP   menu_buttonc          	      x   K   |                                                      | j        ||||||           d{V S )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.
        )ru   r  ro   rp   rq   rr   rE   N)rv   set_chat_menu_buttonr=   )rM   r  ro   rp   rq   rr   rE   s          rO   set_menu_buttonz_ChatBase.set_menu_button  sb      6 \\^^88G#%'+%! 9 
 
 
 
 
 
 
 
 	
rP   
icon_coloricon_custom_emoji_idc                |   K   |                                                      | j        ||||||||	  	         d{V S )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`
        )	ru   r^   r  r  ro   rp   rq   rr   rE   N)rv   create_forum_topicr=   )	rM   r^   r  r  ro   rp   rq   rr   rE   s	            rO   r  z_ChatBase.create_forum_topic  sh      0 \\^^66G!!5%'+%! 7 

 

 

 

 

 

 

 

 
	
rP   c                |   K   |                                                      | j        ||||||||	  	         d{V S )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.
        )	ru   r   r^   r  ro   rp   rq   rr   rE   N)rv   edit_forum_topicr=   )	rM   r   r^   r  ro   rp   rq   rr   rE   s	            rO   r  z_ChatBase.edit_forum_topic=  sh      0 \\^^44G/!5%'+%! 5 

 

 

 

 

 

 

 

 
	
rP   c          	      x   K   |                                                      | j        ||||||           d{V S )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.
        ru   r   ro   rp   rq   rr   rE   N)rv   close_forum_topicr=   rM   r   ro   rp   rq   rr   rE   s          rO   r  z_ChatBase.close_forum_topica  sb      , \\^^55G/%'+%! 6 
 
 
 
 
 
 
 
 	
rP   c          	      x   K   |                                                      | j        ||||||           d{V S )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)rv   reopen_forum_topicr=   r  s          rO   r  z_ChatBase.reopen_forum_topic  b      , \\^^66G/%'+%! 7 
 
 
 
 
 
 
 
 	
rP   c          	      x   K   |                                                      | j        ||||||           d{V S )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)rv   delete_forum_topicr=   r  s          rO   r  z_ChatBase.delete_forum_topic  r  rP   c          	      x   K   |                                                      | j        ||||||           d{V S )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)rv   unpin_all_forum_topic_messagesr=   r  s          rO   r  z(_ChatBase.unpin_all_forum_topic_messages  sc      . \\^^BBG/%'+%! C 
 
 
 
 
 
 
 
 	
rP   c                v   K   |                                                      | j        |||||           d{V S )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.
        rt   N)rv   &unpin_all_general_forum_topic_messagesr=   rx   s         rO   r  z0_ChatBase.unpin_all_general_forum_topic_messages  s`      , \\^^JJG%'+%! K 
 
 
 
 
 
 
 
 	
rP   c          	      x   K   |                                                      | j        ||||||           d{V S )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.
        )ru   r^   ro   rp   rq   rr   rE   N)rv   edit_general_forum_topicr=   )rM   r^   ro   rp   rq   rr   rE   s          rO   r  z"_ChatBase.edit_general_forum_topic  sb      0 \\^^<<G%'+%! = 
 
 
 
 
 
 
 
 	
rP   c                v   K   |                                                      | j        |||||           d{V S )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.
        rt   N)rv   close_general_forum_topicr=   rx   s         rO   r  z#_ChatBase.close_general_forum_topic#  s_      * \\^^==G%'+%! > 
 
 
 
 
 
 
 
 	
rP   c                v   K   |                                                      | j        |||||           d{V S )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.
        rt   N)rv   reopen_general_forum_topicr=   rx   s         rO   r  z$_ChatBase.reopen_general_forum_topicA  _      . \\^^>>G%'+%! ? 
 
 
 
 
 
 
 
 	
rP   c                v   K   |                                                      | j        |||||           d{V S )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.
        rt   N)rv   hide_general_forum_topicr=   rx   s         rO   r  z"_ChatBase.hide_general_forum_topica  _      * \\^^<<G%'+%! = 
 
 
 
 
 
 
 
 	
rP   c                v   K   |                                                      | j        |||||           d{V S )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.
        rt   N)rv   unhide_general_forum_topicr=   rx   s         rO   r  z$_ChatBase.unhide_general_forum_topic  r  rP   c                v   K   |                                                      | j        |||||           d{V S )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.
        rt   N)rv   get_chat_menu_buttonr=   rx   s         rO   get_menu_buttonz_ChatBase.get_menu_button  s_      4 \\^^88G%'+%! 9 
 
 
 
 
 
 
 
 	
rP   r4   c          	      x   K   |                                                      | j        ||||||           d{V S )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.
        )ru   r   rE   ro   rp   rq   rr   N)rv   get_user_chat_boostsr=   r   s          rO   r  z_ChatBase.get_user_chat_boosts  sb      , \\^^88G!%'+% 9 
 
 
 
 
 
 
 
 	
rP   reactionis_bigc                |   K   |                                                      | j        ||||||||	  	         d{V S )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.
        )	ru   r   r  r  ro   rp   rq   rr   rE   N)rv   set_message_reactionr=   )	rM   r   r  r  ro   rp   rq   rr   rE   s	            rO   r  z_ChatBase.set_message_reaction  sh      0 \\^^88G!%'+%! 9 

 

 

 

 

 

 

 

 
	
rP   )r   r   ro   rp   rq   rr   rE   
star_countr&   c                   K   |                                                      | j        |||||||||	|
|||||||||||||           d{V S )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.
        )ru   r  r   r   r   r   r   r   r   r   r   r   r   ro   rp   rq   rr   rE   r   r  r   r   r   r   N)rv   send_paid_mediar=   )rM   r  r   r   r   r   r   r   r   r   r   r   r  r   r   r   r   r   r   ro   rp   rq   rr   rE   s                           rO   r  z_ChatBase.send_paid_media  s      N \\^^33G!!-%=!5+-%(C 3%'+%!#9!5%=&?/1 4 
 
 
 
 
 
 
 
 	
rP   gift_idz
str | Gifttext_parse_modetext_entitiespay_for_upgradec                   K    |                                  j        d|||||||||	|
d
| j        t          j        k    rdnd| j        i d{V S )aV  Shortcut for::

             await bot.send_gift(user_id=update.effective_chat.id, *args, **kwargs )

        or::

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

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

        Caution:
            Will only work if the chat is a private or channel chat, see :attr:`type`.

        .. versionadded:: 21.8

        .. versionchanged:: 21.11

            Added support for channel chats.

        Returns:
            :obj:`bool`: On success, :obj:`True` is returned.
        )
r  r   r  r  r  ro   rp   rq   rr   rE   ru   r   Nr+  )rv   	send_giftrB   ChatrU   r=   )rM   r  r   r  r  r  ro   rp   rq   rr   rE   s              rO   r  z_ChatBase.send_giftH  s      H .T\\^^- 
+'+%'+%!
 
 !I55yy9dgN
 
 
 
 
 
 
 
 	
rP   owned_gift_idc                |   K   |                                                      | j        ||||||||	  	         d{V S )aK  Shortcut for::

             await bot.transfer_gift(new_owner_chat_id=update.effective_chat.id, *args, **kwargs )

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

        .. versionadded:: 22.1

        Returns:
            :obj:`bool`: On success, :obj:`True` is returned.
        )	new_owner_chat_idr   r  r  ro   rp   rq   rr   rE   N)rv   transfer_giftr=   )	rM   r   r  r  ro   rp   rq   rr   rE   s	            rO   r  z_ChatBase.transfer_giftz  sh      . \\^^11"g#9'!%'+%! 2 

 

 

 

 

 

 

 

 
	
rP   custom_descriptionc          	      x   K   |                                                      | j        ||||||           d{V S )aE  Shortcut for::

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

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

        .. versionadded:: 21.10

        Returns:
            :obj:`bool`: On success, :obj:`True` is returned.
        )ru   r  ro   rp   rq   rr   rE   N)rv   verify_chatr=   )rM   r  ro   rp   rq   rr   rE   s          rO   verifyz_ChatBase.verify  sb      , \\^^//G1%'+%! 0 
 
 
 
 
 
 
 
 	
rP   c                v   K   |                                                      | j        |||||           d{V S )a_  Shortcut for::

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

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

        .. versionadded:: 21.10

        Returns:
            :obj:`bool`: On success, :obj:`True` is returned.
        rt   N)rv   remove_chat_verificationr=   rx   s         rO   remove_verificationz_ChatBase.remove_verification  r  rP   c          
      z   K   |                                                      | j        |||||||           d{V S )aX  Shortcut for::

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

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

        .. versionadded:: 22.1

        Returns:
            :obj:`bool`: On success, :obj:`True` is returned.
        )ru   r   r   ro   rp   rq   rr   rE   N)rv   read_business_messager=   )rM   r   r   ro   rp   rq   rr   rE   s           rO   r  z_ChatBase.read_business_message  se      . \\^^99G#9!%'+%! : 	
 	
 	
 	
 	
 	
 	
 	
 		
rP   	send_datec          
      z   K   |                                                      | j        |||||||           d{V S )ac  
        Shortcut for::

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

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

        .. versionadded:: 22.4

        Returns:
            :obj:`bool`: On success, :obj:`True` is returned.
        )ru   r   r  ro   rp   rq   rr   rE   N)rv   approve_suggested_postr=   )rM   r   r  ro   rp   rq   rr   rE   s           rO   r  z _ChatBase.approve_suggested_post  se      0 \\^^::G!%'+%! ; 	
 	
 	
 	
 	
 	
 	
 	
 		
rP   commentc          
      z   K   |                                                      | j        |||||||           d{V S )ac  
        Shortcut for::

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

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

        .. versionadded:: 22.4

        Returns:
            :obj:`bool`: On success, :obj:`True` is returned.
        )ru   r   r  ro   rp   rq   rr   rE   N)rv   decline_suggested_postr=   )rM   r   r  ro   rp   rq   rr   rE   s           rO   r  z _ChatBase.decline_suggested_post   se      0 \\^^::G!%'+%! ; 	
 	
 	
 	
 	
 	
 	
 	
 		
rP   from_story_idactive_periodpost_to_chat_pager2   c                   K   |                                                      || j        ||||||||	|
           d{V S )ax  Shortcut for::

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

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

        .. versionadded:: 22.6

        Returns:
            :class:`Story`: On success, :class:`Story` is returned.

        )r   ra  r  r  r  r   ro   rp   rq   rr   rE   N)rv   repost_storyr=   )rM   r   r  r  r  r   ro   rp   rq   rr   rE   s              rO   r  z_ChatBase.repost_storyC  sn      : \\^^00#9''/+%'+%! 1 
 
 
 
 
 
 
 
 	
rP   exclude_unsavedexclude_savedexclude_unlimitedexclude_limited_upgradableexclude_limited_non_upgradableexclude_from_blockchainexclude_uniquesort_by_priceoffsetlimitr.   c                   K   |                                                      | j        |||||||||	|
|||||           d{V S )aV  Shortcut for::

             await bot.get_chat_gifts(chat_id=update.effective_chat.id)

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

        .. versionadded:: 22.6

        Returns:
            :class:`telegram.OwnedGifts`: On success, returns the gifts owned by the chat.
        )ru   r  r  r  r  r  r  r  r  r  r  ro   rp   rq   rr   rE   N)rv   get_chat_giftsr=   )rM   r  r  r  r  r  r  r  r  r  r  ro   rp   rq   rr   rE   s                   rO   	get_giftsz_ChatBase.get_giftsn  s}      > \\^^22G+'/'A+I$;)'%'+%!! 3 
 
 
 
 
 
 
 
 	
rP   tagc          
      z   K   |                                                      | j        |||||||           d{V S )a]  
        Shortcut for::

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

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

        .. versionadded:: 22.7

        Returns:
            :obj:`bool`: On success, :obj:`True` is returned.
        )ru   r   r  ro   rp   rq   rr   rE   N)rv   set_chat_member_tagr=   )rM   r   r  ro   rp   rq   rr   rE   s           rO   r  z_ChatBase.set_chat_member_tag  se      0 \\^^77G%'+%! 8 	
 	
 	
 	
 	
 	
 	
 	
 		
rP   )NNNNNN)N)NN)NNNNNNNNNNNNNNNNN)NNNN)
NNNNNNNNNN)__name__
__module____qualname____doc__	__slots__intstrboolr   rH   r   rJ   rQ   r   __annotations__rR   rS   rT   rU   propertyrZ   rX   r]   r   rl   r   r   r   floatry   tupler|   r   rI   dtmdatetimer   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  r  r  objectr,  r5  r:  r=  rE  rK  rO  rR  r   r`  rf  re  rl  rk  rq  rs  rw  ry  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  r  r  r  r  r  r  r  r  r  __classcell__)rN   s   @rO   r;   r;   U   sR         
	I !#!% $ $*. '+    Tz	
 * $J : + !4K tO     : #+2FE#J222 $,4GU3Z4446!*0E5:0004&/:Jc
:::9#,4GU3Z4446d
    X #3: # # # X# cDj    X$L $LS4Z $L3 $L $L $L $LLL Ld
 Lc L L L LBL Lt Ls L L L LF )5)5+7(4&*
 
 
 uo
  	

 "%
 uo
 tO
 

 
 
 
> )5)5+7(4&*
 
 
 uo
  	

 "%
 uo
 tO
 
 	!
 
 
 
F )5)5+7(4&*
 
 
 uo
  	

 "%
 uo
 tO
 

 
 
 
@ )5)5+7(4&*
 
 

 uo	

  
 "%
 uo
 tO
 

 
 
 
B (,04	 
 )5)5+7(4&* 
  
  
 
  
 #,&-	 
 uo 
   
 "% 
 uo 
 tO 
 
 
  
  
  
L )5)5+7(4&*
 
 

 uo	

  
 "%
 uo
 tO
 

 
 
 
J )5)5+7(4&*!
 !
 !
s!
 uo	!

  !
 "%!
 uo!
 tO!
 
!
 !
 !
 !
N )5)5+7(4&*
 
 

 uo	

  
 "%
 uo
 tO
 

 
 
 
J )5)5+7(4&*!
 !
 !
s!
 uo	!

  !
 "%!
 uo!
 tO!
 
!
 !
 !
 !
L '+

 )5)5+7(4&*
 
 

 t

 uo
  
 "%
 uo
 tO
 

 
 
 
F (,)-)-+/(,,0(,+/$('+.2)-(,(,*.26'+'H
* )5)5+7(4&*3H
 H
 H
H
 H
  $;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@

 SM@
 #?3d:@
 #'+@
 'tn@
 "$@
 3@
 +@
 !$d
@
 t@
 #Tk@
 #&*@
  $D!@
" :#@
& &.d^'@
( !4Z)@
* uo+@
,  -@
. "%/@
0 uo1@
2 tO3@
4 
5@
 @
 @
 @
J  )5:>'+0
 )5)5+7(4&*0
 0
 0
0
 Dj0
 "#	0

  0470
 0
 uo0
  0
 "%0
 uo0
 tO0
 
0
 0
 0
 0
l "&	!
 )5)5+7(4&*!
 !
 !
 #!
 !
 $J	!
 uo!
  !
 "%!
 uo!
 tO!
 
!
 !
 !
 !
J *.
 )5)5+7(4&*
 
 
$J
 uo	

  
 "%
 uo
 tO
 

 
 
 
F )5)5+7(4&*
 
 
 uo
  	

 "%
 uo
 tO
 

 
 
 
F )5)5+7(4&* 
  
  
 # 
  

 uo 
   
 "% 
 uo 
 tO 
 
 
  
  
  
J 04!

 )5)5+7(4&*!
 !
 !
!
 %,!

 uo!
  !
 "%!
 uo!
 tO!
 
!
 !
 !
 !
L #!

 )5)5+7(4&*!
 !
 !
!
 t!

 uo!
  !
 "%!
 uo!
 tO!
 
!
 !
 !
 !
P *.*6)
 )5)5+7(4&*)
 )
 )
 #)
 )
 "	)

  $;)
 "$)
 uo)
  )
 "%)
 uo)
 tO)
 
)
 )
 )
 )
Z (,%))-266:/3&*%)! 0
 )5)5+7(4&*#0
 0
 0
0
 d{0
  $;	0

 %)4K0
 )-t0
 "&0
 t0
 d{0
 d
0
 Tz0
 uo0
  0
 "%0
  uo!0
" tO#0
$ 
%0
 0
 0
 0
j !

 )5)5+7(4&*!
 !
 !
!
 4Z!

 uo!
  !
 "%!
 uo!
 tO!
 
!
 !
 !
 !
 !
 !
 !
 !
rP   r;   c                       e Zd ZdZdZdS )r  a  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
        is_direct_messages (:obj:`bool`, optional): :obj:`True`, if the chat is the direct messages
            chat of a channel.

            .. versionadded:: 22.4

    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
        is_direct_messages (:obj:`bool`): Optional. :obj:`True`, if the chat is the direct messages
            chat of a channel.

            .. versionadded:: 22.4

    .. _topics: https://telegram.org/blog/topics-in-groups-collectible-usernames#topics-in-groups
    r+  N)r  r  r  r  r  r+  rP   rO   r  r    s         ; ;z IIIrP   r  )Lr  r  r  collections.abcr   htmlr   typingr   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._utils.usernamesr   r   telegram.helpersr   r   rn   r   rf   r   r   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   r6   r7   r8   r9   r;   r  r+  rP   rO   <module>r     sU  ( F E     $ $ $ $ $ $       ' ' ' ' ' ' ' '       5 5 5 5 5 5 + + + + + + + + + + + + + + + + + + 3 3 3 3 3 3             5 5 5 5 5 5              > = = = = = = = , , , , , , A A A A A A I I I I I I #2! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! !D 211111l=
 l=
 l=
 l=
 l=
 l=
 l=
 l=
^{> > > > >9 > > > > >rP   