Whenever I try to use current session I still get SessionPasswordNeededError:
SessionPasswordNeededError('Two-steps verification is enabled and a password is required (caused by GetAuthorizationsRequest)')
I tried both method of obtaining TelegramClient, in both CurrentSession flag was used.
Whenever I try to use current session I still get SessionPasswordNeededError:
SessionPasswordNeededError('Two-steps verification is enabled and a password is required (caused by GetAuthorizationsRequest)')
I tried both method of obtaining TelegramClient, in both CurrentSession flag was used.