From 51d3ad7d94a19be9533f699652d8b395830078ad Mon Sep 17 00:00:00 2001 From: Wendirad Demelash <53967346+Wendirad@users.noreply.github.com> Date: Sat, 26 Mar 2022 18:23:35 +0300 Subject: [PATCH] Fix indentation for `ban_chat_member` function doc string (#867) * Added classifier for Python 3.10 * Fix indentation for `ban_chat_member` function doc string Co-authored-by: Alex Root Junior --- aiogram/bot/bot.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/aiogram/bot/bot.py b/aiogram/bot/bot.py index 91c0b283..e2f7fd24 100644 --- a/aiogram/bot/bot.py +++ b/aiogram/bot/bot.py @@ -1704,9 +1704,9 @@ class Bot(BaseBot, DataMixin, ContextInstanceMixin): datetime.datetime, datetime.timedelta, None]` :param revoke_messages: Pass True to delete all messages from - the chat for the user that is being removed. If False, the user - will be able to see messages in the group that were sent before - the user was removed. Always True for supergroups and channels. + the chat for the user that is being removed. If False, the user + will be able to see messages in the group that were sent before + the user was removed. Always True for supergroups and channels. :type revoke_messages: :obj:`typing.Optional[base.Boolean]` :return: Returns True on success