mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
style: align params
This commit is contained in:
parent
e676cb1675
commit
d2422742e9
1 changed files with 6 additions and 6 deletions
|
|
@ -1563,12 +1563,12 @@ class Bot(BaseBot, DataMixin, ContextInstanceMixin):
|
|||
return types.File(**result)
|
||||
|
||||
async def ban_chat_member(self,
|
||||
chat_id: typing.Union[base.Integer, base.String],
|
||||
user_id: base.Integer,
|
||||
until_date: typing.Union[base.Integer, datetime.datetime,
|
||||
datetime.timedelta, None] = None,
|
||||
revoke_messages: typing.Optional[base.Boolean] = None,
|
||||
) -> base.Boolean:
|
||||
chat_id: typing.Union[base.Integer, base.String],
|
||||
user_id: base.Integer,
|
||||
until_date: typing.Union[base.Integer, datetime.datetime,
|
||||
datetime.timedelta, None] = None,
|
||||
revoke_messages: typing.Optional[base.Boolean] = None,
|
||||
) -> base.Boolean:
|
||||
"""
|
||||
Use this method to ban a user in a group, a supergroup or a
|
||||
channel. In the case of supergroups and channels, the user will
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue