
    iL                     D    S SK Jr  S SKrS SKJr  S SKJr   " S S5      rg)    )UnionN)raw)typesc                   8    \ rS rSrSSS\\\4   S\SS4S jrS	rg
)RetractVote   selfzpyrogram.Clientchat_id
message_idreturnz
types.Pollc                   #    U R                  [        R                  R                  R	                  U R                  U5      I Sh  vN U/ S95      I Sh  vN n[        R                  R                  XR                  S   5      $  N@ N27f)a  Retract your vote in 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.

Returns:
    :obj:`~pyrogram.types.Poll`: On success, the poll with the retracted vote is returned.

Example:
    .. code-block:: python

        await app.retract_vote(chat_id, message_id)
N)peermsg_idoptionsr   )
invoker   	functionsmessagesSendVoteresolve_peerr   Poll_parseupdates)r	   r
   r   rs       S/app/mltbenv/lib/python3.13/site-packages/pyrogram/methods/messages/retract_vote.pyretract_voteRetractVote.retract_vote   sw     4 ++MM""++,,W55! , 
 
 zz  yy|44 6
s$   AB
BB
B1B
B
 N)	__name__
__module____qualname____firstlineno__r   intstrr   __static_attributes__r       r   r   r      s3    "5"5sCx"5 "5 
	"5r%   r   )typingr   pyrogramr   r   r   r   r%   r   <module>r(      s   &    #5 #5r%   