Open uruk-hai-21 opened 3 years ago
Remove 2FA from your Telegram Account during the process.
I found a solution for 2FA , could you add it to the code. I didn't succeed, I don't have enough knowledge ((
`client.start().
phone = input("Enter phone: ") await client.send_code_request(phone, force_sms=False) value = input("Enter login code: ") try: me = await client.sign_in(phone, code=value) except telethon.errors.SessionPasswordNeededError: password = input("Enter password: ") me = await client.sign_in(password=password)`
What should I do in this case?