Ë
    :É„jx
  ã                   ó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   |j                   «      ƒ d{  –—† S 7 Œâ7 Œ~c c}w 7 ŒM7 Œ­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).
                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.

            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Úusers)r	   r
   r   r   r   ÚoptionÚrs          úZ/var/www/html/GAP/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×&Ñ& t¨Q¯Y©Y°q©\¸1¿7¹7ÓC×CÐCð =øð
 6úâIð	
øð DúsR   ‚D˜C;™A%DÁ>C=Á?DÂ C?Â'DÂ6DÂ7?DÃ6DÃ7DÃ=DÃ?DÄDN)	Ú__name__Ú
__module__Ú__qualname__r   ÚintÚstrÚidr   r"   © ó    r!   r   r      sP   „ ð+DØð+Dà�s˜C�x‘ð+Dð ð+Dð �s˜D ™I�~Ñ&ð	+Dð
 
ô+Dr*   r   )Útypingr   r   Úpyrogramr   r   r   r)   r*   r!   ú<module>r-      s   ð÷( ã Ý Ý ÷,Dò ,Dr*   