Ë
    t½ÕjÈ	  ã                   óH   — d dl mZmZ d dlZd dlmZ d dlmZ  G d„ d«      Zy)é    )ÚUnionÚListN)Úraw)Útypesc                   óB   — e Zd Zdddeeef   dedeeee   f   ddf
d„Zy	)
ÚVotePollÚselfzpyrogram.ClientÚchat_idÚ
message_idÚoptionsÚreturnz
types.Pollc              ƒ   óê  K  — | j                  ||«      ƒ d{  –—† j                  }t        |t        «      s|gn|}| j	                  t
        j                  j                  j                  | j                  |«      ƒ d{  –—† ||D �cg c]  }|j                  |   j                  ‘Œ c}¬«      «      ƒ d{  –—† }t        j                  j                  | |j                  d   «      S 7 ŒÏ7 Œkc c}w 7 Œ:­w)a‘  Vote a poll.

        .. include:: /_includes/usable-by/users.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.

            options (``Int`` | List of ``int``):
                Index or list of indexes (for multiple answers) of the poll option(s) you want to vote for (0 to 9).

        Returns:
            :obj:`~pyrogram.types.Poll` - On success, the poll with the chosen option is returned.

        Example:
            .. code-block:: python

                await app.vote_poll(chat_id, message_id, 6)
        N)ÚpeerÚmsg_idr   r   )Úget_messagesÚpollÚ
isinstanceÚlistÚinvoker   Ú	functionsÚmessagesÚSendVoteÚresolve_peerr   Údatar   ÚPollÚ_parseÚupdates)r	   r
   r   r   r   ÚoptionÚrs          ú]/root/FB SCRAP HARRY/venv/lib/python3.12/site-packages/pyrogram/methods/messages/vote_poll.pyÚ	vote_pollzVotePoll.vote_poll   sÊ   è ø€ ð> ×'Ñ'¨°Ó<×<×BÑBˆÜ#-¨g´tÔ#<�7‘)À'ˆà—+‘+Ü�M‰M×"Ñ"×+Ñ+Ø×,Ñ,¨WÓ5×5Ø!ØAHÖI°v˜Ÿ™ fÑ-×2Ó2ÒIð ,ó ó
÷ 
ˆô �z‰z× Ñ   q§y¡y°¡|Ó4Ð4ð =øð
 6úâIð	
ús@   ‚C3˜C(™A%C3Á>C*Á?C3Â C,Â'C3Â6C1Â72C3Ã*C3Ã,C3N)	Ú__name__Ú
__module__Ú__qualname__r   ÚintÚstrÚidr   r!   © ó    r    r   r      sJ   „ ð*5Øð*5à�s˜C�x‘ð*5ð ð*5ð �s˜D ™I�~Ñ&ð	*5ð
 
ô*5r)   r   )Útypingr   r   Úpyrogramr   r   r   r(   r)   r    ú<module>r,      s   ð÷& ã Ý Ý ÷+5ò +5r)   