2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-08-27 20:37:54 +00:00

Fix indentation and docstrings due to bad PR

This commit is contained in:
Dan 2019-07-28 08:16:41 +02:00
parent 881f5ab783
commit 7b9a38a2ba

View File

@ -2858,10 +2858,9 @@ class Message(Object, Update):
else: else:
self.reply(button, quote=quote) self.reply(button, quote=quote)
def retract_vote( def retract_vote(
self, self,
) -> "Poll": ) -> "pyrogram.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:
@ -2957,10 +2956,11 @@ class Message(Object, Update):
progress=progress, progress=progress,
progress_args=progress_args, progress_args=progress_args,
) )
def vote( def vote(
self, self,
option: int, option: int,
) -> "Poll": ) -> "pyrogram.Poll":
"""Bound method *vote* of :obj:`Message`. """Bound method *vote* of :obj:`Message`.
Use as a shortcut for: Use as a shortcut for: