From 45a9dfceafb5252c9dbab4b285e3ec095a02ffdc Mon Sep 17 00:00:00 2001 From: Untone Date: Sun, 17 Sep 2023 12:28:06 +0300 Subject: [PATCH] fixing-polling5 --- bot/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/main.py b/bot/main.py index 486877b..a1cacf9 100644 --- a/bot/main.py +++ b/bot/main.py @@ -31,7 +31,7 @@ async def process_callback(callback_query: CallbackQuery): await handle_unlink(cbq) -@router.join_request() +@router.chat_join_request() async def join_request_handler(update: ChatJoinRequest) -> None: print("chat join request") join_request = vars(update)