mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Bug fix
There is no method `delete_chat_description`
This commit is contained in:
parent
68857533c9
commit
689a6cef65
1 changed files with 1 additions and 1 deletions
|
|
@ -178,7 +178,7 @@ class Chat(base.TelegramObject):
|
||||||
:return: Returns True on success.
|
:return: Returns True on success.
|
||||||
:rtype: :obj:`base.Boolean`
|
:rtype: :obj:`base.Boolean`
|
||||||
"""
|
"""
|
||||||
return await self.bot.delete_chat_description(self.id, description)
|
return await self.bot.set_chat_description(self.id, description)
|
||||||
|
|
||||||
async def kick(self, user_id: base.Integer,
|
async def kick(self, user_id: base.Integer,
|
||||||
until_date: typing.Union[base.Integer, datetime.datetime, datetime.timedelta, None] = None) -> base.Boolean:
|
until_date: typing.Union[base.Integer, datetime.datetime, datetime.timedelta, None] = None) -> base.Boolean:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue