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:
commit
487ede7c88
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user