a way to run this class. Based on your post - I use sign_in() is that correct?
I apologize if something is wrong, this is the first time I'm trying to make a nice structure for telethon
yeah. and check the documentation on each method. sign_in needs the phone to be passed too, not only code, and it will raise exception if 2FA is enabled. and make sure you connect() first before using any of the methods, then do is_user_authorized to make sure the my_account.session file is not authorized to start authorization process
Обсуждают сегодня