ВилсонМозгодел, Нейронка где-то хуйню прочитала и теперь выдает ее за правду, база Сессия телетона это sqlite бд, собственно auth_key'я и dc_id достаточно, остальные таблицы не обязательны, собственно оставить их пустыми и норм Тут кринжовое исполнение на опентеле, ибо создавать бд с нуля мне лень from opentele.td import TDesktop, Account, AuthKeyType, AuthKey from opentele.td.configs import DcId from opentele.api import API import asyncio async def main(): user_id = 0 dc_id = DcId(0) auth_key = AuthKey(bytes.fromhex('auth_key'), AuthKeyType.ReadFromFile, dc_id) api = API.TelegramDesktop client = TDesktop() client._TDesktop__generateLocalKey() account = Account(owner=client, api=api) account._setMtpAuthorizationCustom(dc_id, user_id, [auth_key]) client._addSingleAccount(account) await client.ToTelethon(session=user_id) asyncio.run(main()) Code from opentele.td import TDesktop, Account, AuthKeyType, AuthKey from opentele.td.configs import DcId from opentele.api import API import asyncio async def main(): user_id = 0 dc_id = DcId(0) auth_key = AuthKey(bytes.fromhex('auth_key'), AuthKeyType.ReadFromFile, dc_id) api = API.TelegramDesktop client = TDesktop() client._TDesktop__generateLocalKey() account = Account(owner=client, api=api) account._setMtpAuthorizationCustom(dc_id, user_id, [auth_key]) client._addSingleAccount(account) await client.ToTelethon(session=user_id) asyncio.run(main())