1
0
mirror of https://github.com/eternnoir/pyTelegramBotAPI.git synced 2023-08-10 21:12:57 +03:00

Merge pull request #1046 from Badiboy/master

Fix unban_chat_member in async
This commit is contained in:
Badiboy 2020-12-16 01:58:31 +03:00 committed by GitHub
commit 487ede7c88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2293,8 +2293,8 @@ class AsyncTeleBot(TeleBot):
return TeleBot.kick_chat_member(self, *args, **kwargs)
@util.async_dec()
def unban_chat_member(self, *args):
return TeleBot.unban_chat_member(self, *args)
def unban_chat_member(self, *args, **kwargs):
return TeleBot.unban_chat_member(self, *args, **kwargs)
@util.async_dec()
def restrict_chat_member(self, *args, **kwargs):