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)