mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-29 13:27:47 +00:00
Fix Message.retract_vote style
This commit is contained in:
parent
449f318e6d
commit
a320088fee
@ -2871,8 +2871,8 @@ class Message(Object, Update):
|
|||||||
|
|
||||||
|
|
||||||
def retract_vote(
|
def retract_vote(
|
||||||
self,
|
self,
|
||||||
) -> "Poll":
|
) -> "Poll":
|
||||||
"""Bound method *retract_vote* of :obj:`Message`.
|
"""Bound method *retract_vote* of :obj:`Message`.
|
||||||
|
|
||||||
Use as a shortcut for:
|
Use as a shortcut for:
|
||||||
@ -2883,14 +2883,14 @@ class Message(Object, Update):
|
|||||||
chat_id=message.chat.id,
|
chat_id=message.chat.id,
|
||||||
message_id=message_id,
|
message_id=message_id,
|
||||||
)
|
)
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
.. code-block:: python
|
.. code-block:: python
|
||||||
|
|
||||||
message.retract_vote()
|
message.retract_vote()
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
:obj:`Poll`
|
:obj:`Poll`: On success, the poll with the retracted vote is returned.
|
||||||
On success, the poll with the retracted vote is returned.
|
|
||||||
|
|
||||||
Raises:
|
Raises:
|
||||||
RPCError: In case of a Telegram RPC error.
|
RPCError: In case of a Telegram RPC error.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user