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

Update __init__.py

This commit is contained in:
_run 2021-11-06 19:59:44 +05:00
parent 8003ff5e59
commit 62b1ec04ab

View File

@ -514,7 +514,7 @@ class TeleBot:
if new_chat_members:
self.process_new_chat_member(new_chat_members)
if chat_join_request:
self.process_chat_join_request(chat_join_request)
self.process_new_chat_join_request(chat_join_request)
def process_new_messages(self, new_messages):
@ -559,7 +559,7 @@ class TeleBot:
def process_new_chat_member(self, chat_members):
self._notify_command_handlers(self.chat_member_handlers, chat_members)
def process_chat_join_request(self, chat_join_request):
def process_new_chat_join_request(self, chat_join_request):
self._notify_command_handlers(self.chat_join_request_handlers, chat_join_request)
def process_middlewares(self, update):