Manage data after login

This commit is contained in:
2025-06-08 13:58:43 +03:30
parent e9a6789dfa
commit 7a7141866e
20 changed files with 1175 additions and 33 deletions
@@ -47,6 +47,13 @@ public class TelegramClient {
break;
case "2":
this.handler.loginHandler();
if (Session.currentUser != null) {
System.out.println("Login successful.");
this.handler.userMenu();
} else {
System.out.println("Login failed.");
}
break;
case "3":
System.out.println(" Disconnecting...");