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

Fix unban_chat_member in async

This commit is contained in:
Badiboy 2020-12-16 01:57:30 +03:00
parent 65c3ca58da
commit 4658d2b8da

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