Ë
    :É„jj  ã                   óD   — d dl mZ d dlZd dlmZ d dlmZ  G d„ d«      Zy)é    )ÚUnionN)Úraw)Útypesc                   ó<   — e Zd Z	 	 ddddeeef   deddded	d
fd„Zy)ÚStopPollNÚselfzpyrogram.ClientÚchat_idÚ
message_idÚreply_markupztypes.InlineKeyboardMarkupÚbusiness_connection_idÚreturnz
types.Pollc              ƒ   ó6  K  — | j                  ||«      ƒ d{  –—† j                  }t        j                  j                  j                  | j                  |«      ƒ d{  –—† |t        j                  j                  t        j                  j                  t        |j                  «      dt        j                  j                  dg ¬«      g ¬«      ¬«      |r|j                  | «      ƒ d{  –—† nd¬«      }|�9| j                  t        j                  j                  ||¬«      «      ƒ d{  –—† }n| j                  |«      ƒ d{  –—† }t        j                  j!                  | |j"                  d	   |j$                  «      ƒ d{  –—† S 7 �Œs7 �Œ07 Œ¥7 Œf7 ŒN7 Œ­w)
aµ  Stop a poll which was sent by you.

        Stopped polls can't be reopened and nobody will be able to vote in it anymore.

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

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

            message_id (``int``):
                Identifier of the original message with the poll.

            reply_markup (:obj:`~pyrogram.types.InlineKeyboardMarkup`, *optional*):
                An InlineKeyboardMarkup object.

            business_connection_id (``str``, *optional*):
                Unique identifier of the business connection.

        Returns:
            :obj:`~pyrogram.types.Poll`: On success, the stopped poll with the final results is returned.

        Example:
            .. code-block:: python

                await app.stop_poll(chat_id, message_id)
        NTÚ )ÚtextÚentities)ÚidÚclosedÚquestionÚanswers)Úpoll)Úpeerr   Úmediar   )Úconnection_idÚqueryr   )Úget_messagesr   r   Ú	functionsÚmessagesÚEditMessageÚresolve_peerr   ÚInputMediaPollÚPollÚintr   ÚTextWithEntitiesÚwriteÚinvokeÚInvokeWithBusinessConnectionÚ_parseÚupdatesÚusers)r   r	   r
   r   r   r   ÚrpcÚrs           úZ/var/www/html/GAP/venv/lib/python3.12/site-packages/pyrogram/methods/messages/stop_poll.pyÚ	stop_pollzStopPoll.stop_poll   sZ  è ø€ ðJ ×'Ñ'¨°Ó<×<×BÑBˆä�m‰m×$Ñ$×0Ñ0Ø×(Ñ(¨Ó1×1ØÜ—)‘)×*Ñ*Ü—Y‘Y—^‘^Ü˜4Ÿ7™7“|ØÜ ŸY™Y×7Ñ7¸RÈ"Ð7ÓMØð	 $ó ð +ó ñ <H˜|×1Ñ1°$Ó7×7Ð7ÈTð 1ó 
ˆð "Ð-Ø—k‘kÜ—‘×:Ñ:Ø"8Øð ;ó ó÷ ‰Að —k‘k #Ó&×&ˆAä—Z‘Z×&Ñ& t¨Q¯Y©Y°q©\¸1¿7¹7ÓC×CÐCð3 =ùð 2ùð 8øðøð 'øàCúsl   ‚F˜F™AFÁFÁBFÃ+FÃ,A FÄ,FÄ-FÅFÅ?FÆFÆFÆFÆFÆFÆFÆF)NN)Ú__name__Ú
__module__Ú__qualname__r   r"   Ústrr-   © ó    r,   r   r      sV   „ ð
 6:Ø&*ñ>DØð>Dà�s˜C�x‘ð>Dð ð>Dð 3ð	>Dð
 !$ð>Dð 
ô>Dr3   r   )Útypingr   Úpyrogramr   r   r   r2   r3   r,   ú<module>r6      s   ðõ( ã Ý Ý ÷?Dò ?Dr3   