mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Update user.py
This commit is contained in:
parent
620c12ebd3
commit
2752d4a73e
1 changed files with 1 additions and 1 deletions
|
|
@ -87,7 +87,7 @@ class User(base.TelegramObject):
|
|||
async def get_profile_photos(self, offset=None, limit=None):
|
||||
return await self.bot.get_user_profile_photos(self.id, offset, limit)
|
||||
|
||||
async def ban(until_date: typing.Union[base.Integer, datetime.datetime,
|
||||
async def ban(self, until_date: typing.Union[base.Integer, datetime.datetime,
|
||||
datetime.timedelta, None] = None,
|
||||
revoke_messages: typing.Optional[base.Boolean] = None
|
||||
) -> base.Boolean:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue