qr login with telegram

This commit is contained in:
sdarbinyan
2026-03-25 15:32:50 +04:00
parent ce301e9c70
commit db781fd871
10 changed files with 1234 additions and 25 deletions

View File

@@ -17,4 +17,9 @@ export interface TelegramAuthData {
hash: string;
}
export interface QrPollResponse {
status: 'pending' | 'confirmed' | 'expired';
session?: AuthSession;
}
export type AuthStatus = 'unknown' | 'checking' | 'authenticated' | 'expired' | 'unauthenticated';