diff --git a/bot/main.py b/bot/main.py index 1d8f750..486877b 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.chat_join_request_handler() +@router.join_request() async def join_request_handler(update: ChatJoinRequest) -> None: print("chat join request") join_request = vars(update)