There is no method `delete_chat_description`
This commit is contained in:
Kostiantyn Kriuchkov 2020-05-09 08:59:41 +03:00 committed by GitHub
parent 68857533c9
commit 689a6cef65
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: