Skip to content

Commit 487ede7

Browse files
authored
Merge pull request eternnoir#1046 from Badiboy/master
Fix unban_chat_member in async
2 parents fab2b2d + 4658d2b commit 487ede7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

telebot/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2293,8 +2293,8 @@ def kick_chat_member(self, *args, **kwargs):
22932293
return TeleBot.kick_chat_member(self, *args, **kwargs)
22942294

22952295
@util.async_dec()
2296-
def unban_chat_member(self, *args):
2297-
return TeleBot.unban_chat_member(self, *args)
2296+
def unban_chat_member(self, *args, **kwargs):
2297+
return TeleBot.unban_chat_member(self, *args, **kwargs)
22982298

22992299
@util.async_dec()
23002300
def restrict_chat_member(self, *args, **kwargs):

0 commit comments

Comments
 (0)