- Saved searches
- Use saved searches to filter your results more quickly
- License
- nazar220160/TGConvertor
- Name already in use
- Sign In Required
- Launching GitHub Desktop
- Launching GitHub Desktop
- Launching Xcode
- Launching Visual Studio Code
- Latest commit
- Git stats
- Files
- README.md
- Saved searches
- Use saved searches to filter your results more quickly
- telegram-prime/Telegram-TData-to-Session-Converter
- Name already in use
- Sign In Required
- Launching GitHub Desktop
- Launching GitHub Desktop
- Launching Xcode
- Launching Visual Studio Code
- Latest commit
- Git stats
- Files
- README.md
- Saved searches
- Use saved searches to filter your results more quickly
- License
- thedemons/opentele
- Name already in use
- Sign In Required
- Launching GitHub Desktop
- Launching GitHub Desktop
- Launching Xcode
- Launching Visual Studio Code
- Latest commit
- Git stats
- Files
- README.md
- About
- Saved searches
- Use saved searches to filter your results more quickly
- telegram-prime/Telegram-TData-to-Session-Converter-RU
- Name already in use
- Sign In Required
- Launching GitHub Desktop
- Launching GitHub Desktop
- Launching Xcode
- Launching Visual Studio Code
- Latest commit
- Git stats
- Files
- README.md
Saved searches
Use saved searches to filter your results more quickly
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.
License
nazar220160/TGConvertor
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
Latest commit
Git stats
Files
Failed to load latest commit information.
README.md
This module is small util for easy converting Telegram sessions to various formats (Telethon, Pyrogram, Tdata)
from TGConvertor.manager.manager import SessionManager from pathlib import Path API_ID = 123 API_HASH = "Your API HASH" def main(): session = SessionManager.from_tdata_folder(Path("TDATA/tdata")) res = session.to_pyrogram_string() print(res) if __name__ == "__main__": main()
An authorization session consists of an authorization key and some additional data required to connect. The module simply extracts this data and creates an instance of TelegramSession based on it, the methods of which are convenient to use to convert to the format you need.
- From telethon\pyrogram SQLite session file
- From telethon\pyrogram SQLite session stream
- From tdata
- To telethon client object (Sync\Async)
- To telethon SQLite session file
- To pyrogram client object
- To pyrogram SQLite session file
- To tdata
- From telethon client object
- From pyrogram client object
- CLI usage
- Write normal docs
Saved searches
Use saved searches to filter your results more quickly
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.
telegram-prime/Telegram-TData-to-Session-Converter
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
Latest commit
Git stats
Files
Failed to load latest commit information.
README.md
TD2S Converter — Telegram Accounts TData to .session Converter.
Converts Telegram TData format files to Telegram .session format (or .session + .json).
- Описание программы так же доступно на русском языке. См. TD2S Coverter RUS [in progress]
- 描述也可以在Chineese中提供。 参见 TD2S Coverter CN
- Converts Telegram accounts TData format files to Telegram .session format (or .session + .json).
- Use, control and adjust device settings that used to connect to TData;
- Use unique HTTP or SOCKS5 proxy for each connection to session (multi-line supported);
- Skips bad TData if not connected;
- Sort bad and good sessions to separate folders.
- Save logs of the operation;
- Make back-up of the source files before operation.
We offer FREE trial usage period for 24 hours and for that period user will be given 5 converts (operations) to test and ensure before purchase that everything works fine.
After trial period ended this product is available under several paid subscriptions:
-
- 100 converts (operations) for 30 days period (Whichever comes first).
-
- 1000 converts (operations) for 365 days period (Whichever comes first).
-
- Unlimited number of converts (operations) for lifetime period.
- Email: manager[@]telegramprime.net
- Telegram: @TGG_Sales
- or via the Contact Form on our Telegram PRIME website:
- Wеb: https://telegramprime.net/ — EN Version
- Wеb: https://telegramprime.com/ — RU Version
Saved searches
Use saved searches to filter your results more quickly
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.
A Python Telegram API Library for converting between tdata and telethon sessions, with built-in official Telegram APIs.
License
thedemons/opentele
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
Latest commit
…key type in the map data (Fix) simple hot fix. Problem with keyType unknown. Ignore this situation
Git stats
Files
Failed to load latest commit information.
README.md
A Python Telegram API Library for converting between tdata and telethon sessions, with built-in official Telegram APIs. Read the documentation.
Unfortunately, due to the lack of interest, I can no longer maintain this project and keep it up-to-date with the latest version of Telegram Desktop and Telethon.
If you have been using opentele for a while, I appreciate it, please consider contributing to the project, ask any questions in Discussion and I’ll try to help.
- Convert Telegram Desktoptdata sessions to telethon sessions and vice versa.
- Use telethon with official APIs to avoid bot detection.
- Randomize device info using real data that recognized by Telegram server.
- telethon — Widely used Telegram’s API library for Python.
- tgcrypto — AES-256-IGE encryption to works with tdata .
- pyQt5 — Used by Telegram Desktop to streams data from files.
pip install --upgrade opentele
Load TDesktop from tdata folder and convert it to telethon, with a custom API:
from opentele.td import TDesktop from opentele.tl import TelegramClient from opentele.api import API, CreateNewSession, UseCurrentSession import asyncio async def main(): # Load TDesktop client from tdata folder tdataFolder = r"C:\Users\\AppData\Roaming\Telegram Desktop\tdata" tdesk = TDesktop(tdataFolder) # Using official iOS API with randomly generated device info # print(api) to see more api = API.TelegramIOS.Generate() # Convert TDesktop session to telethon client # CreateNewSession flag will use the current existing session to # authorize the new client by `Login via QR code`. client = await tdesk.ToTelethon("newSession.session", CreateNewSession, api) # Although Telegram Desktop doesn't let you authorize other # sessions via QR Code (or it doesn't have that feature), # it is still available across all platforms (APIs). # Connect and print all logged in devices await client.connect() await client.PrintSessions() asyncio.run(main())
opentele offers the ability to use official APIs, which are used by official apps. You can check that out here.
According to Telegram TOS: all accounts that sign up or log in using unofficial Telegram API clients are automatically put under observation to avoid violations of the Terms of Service.
It also uses the lang_pack parameter, of which telethon can’t use because it’s for official apps only.
Therefore, there are no differences between using opentele and official apps, the server can’t tell you apart.
- Writing data to tdata for converting telethon sessions to tdesktop.
- Random device information for initConnection to avoid spam-detection.
- Add support for pyrogram.
- Develop opentele-tui using textual for non-experience user.
The best way to learn anything is by looking at the examples. Am I right?
About
A Python Telegram API Library for converting between tdata and telethon sessions, with built-in official Telegram APIs.
Saved searches
Use saved searches to filter your results more quickly
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.
telegram-prime/Telegram-TData-to-Session-Converter-RU
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
Latest commit
Git stats
Files
Failed to load latest commit information.
README.md
TD2S Converter — Конвертер Телеграм аккаунтов формата TData в формат .session.
Конвертирует сессии Телеграм аккаунтов в аккаунты формата TData в формат .sessionа, а так же в .session + .json.
- Конвертирует сессии Телеграм аккаунтов в аккаунты формата TData в формат.session (или .session + .json).
- Гибкая настройка эмуляции устройств используемых для подключения к сессии;
- Настройка использования уникальных HTTP или SOCKS5 для подключения к сессии (поддержка большого количества прокси);
- Пропускает плохие сессии если не удалось к ним подключиться;
- Сортирует в отдельные папки хорошие и плохие сессии;
- Возможность сохранять журнал работы;
- Возможность создавать бекапы перед конвертацией.
Мы предлагаем бесплатный тест программы на 24 часа, в период которого пользователь сможет выполнить 5 неограниченных по объему операций чтобы убедиться в чистоте и качестве работы программы.
После тестового периода мы предлагаем следующие варианты активации:
- 100 операций на период 30 дней (в зависимости что наступит раньше),
- 1000 операций на период 365 дней (в зависимости что наступит раньше),
- Неограниченное количество операций на неограниченный срок.
- Email: manager[@]telegramprime.com
- Telegram: @TGG_Sales
- либо через форму связи на наших сайтах Telegram-Prime:
- Wеb: https://telegramprime.net/ — EN Version
- Wеb: https://telegramprime.com/ — RU Version