Ë
    žDj  ã                   ó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                   ó6   — e Zd Z	 ddddeeef   dedddd	f
d
„Zy)ÚStopPollNÚselfzpyrogram.ClientÚchat_idÚ
message_idÚreply_markupztypes.InlineKeyboardMarkupÚreturnz
types.Pollc              ƒ   óN  K  — | j                  ||«      ƒ d{  –—† j                  }| j                  t        j                  j
                  j                  | j                  |«      ƒ d{  –—† |t        j                  j                  t        j                  j                  t        |j                  «      ddg ¬«      ¬«      |r|j                  | «      ƒ d{  –—† nd¬«      «      ƒ d{  –—† }t        j                  j                  | |j                  d   «      S 7 �Œ7 Œµ7 ŒI7 Œ8­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).

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

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

        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Ú )ÚidÚclosedÚquestionÚanswers)Úpoll)Úpeerr   Úmediar   r   )Úget_messagesr   Úinvoker   Ú	functionsÚmessagesÚEditMessageÚresolve_peerr   ÚInputMediaPollÚPollÚintr   ÚwriteÚ_parseÚupdates)r   r	   r
   r   r   Úrs         úS/root/auto/venv/lib/python3.12/site-packages/pyrogram/methods/messages/stop_poll.pyÚ	stop_pollzStopPoll.stop_poll   sý   è ø€ ð@ ×'Ñ'¨°Ó<×<×BÑBˆà—+‘+Ü�M‰M×"Ñ"×.Ñ.Ø×,Ñ,¨WÓ5×5ØÜ—i‘i×.Ñ.ÜŸ™Ÿ™Ü˜tŸw™w›<Ø#Ø!#Ø "ð	 (ó ð /ó ñ @L <×#5Ñ#5°dÓ#;×;Ð;ÐQUð /ó ó
÷ 
ˆô  �z‰z× Ñ   q§y¡y°¡|Ó4Ð4ð% =ùð 6øð <øð
úsG   ‚D%˜D™AD%Á)DÁ*A-D%ÃD!ÃD%Ã*D#Ã+2D%ÄD%Ä!D%Ä#D%)N)Ú__name__Ú
__module__Ú__qualname__r   r   Ústrr$   © ó    r#   r   r      sB   „ ð
 6:ñ	25Øð25à�s˜C�x‘ð25ð ð25ð 3ð	25ð
 
ô25r*   r   )Útypingr   Úpyrogramr   r   r   r)   r*   r#   ú<module>r-      s   ðõ& ã Ý Ý ÷35ò 35r*   