I have several telegram accounts, and at startup, some are asked to enter data. How can I skip this input so that the script continues to run?
my example is not working
for f in glob.iglob("*.session"): # generator, search immediate subdirectories print(f.rsplit('.', 1)[0]) name_file = f.rsplit('.', 1)[0] try: client = TelegramClient(session=name_file, api_id=api_id, api_hash=api_hash) await send_mes_to_users(client) except errors.rpcerrorlist.PhoneNumberInvalidError: print('fail session') continue