Creates a TwoFactorService using the given Telegram notifier.
TelegramNotifier instance used to prompt and wait for OTP replies.
Default OTP wait timeout in seconds (default 300). Per-call timeout via createOtpRetriever overrides this.
Returns an async function that prompts the user for an OTP code via Telegram.
Name of the bank displayed in the Telegram prompt.
OptionaltimeoutSeconds: number
Optional per-bank timeout override in seconds.
Async function that blocks until an OTP is received and returns the code.
Handles 2FA OTP collection via Telegram for bank scraping.