how i can restore sessions old in telethon telegram and connect this again(without send again code)) – Telegram API
i use this script for connect and create sessions in telethon from telethon import TelegramClient from telethon.tl.functions.messages import GetHistoryRequest from telethon.utils import get_input_peer api_id = 7**** api_hash = 'ef584d*****************' client = TelegramClient('+15159947451', api_id, api_hash) client.connect() if not client.is_user_authorized(): client.send_code_request('+15159947451') client.sign_in('+15159947451',…