Tidak Ada Deskripsi

Nazar 2bf64697b2 Merge pull request #20 from Majidemoon/fix-session-file-issue 2 hari lalu
TGConvertor 259861d45c Fix missing IP, port, and version fields in Telethon session files 4 hari lalu
LICENSE f6bca6274a Commit 2 tahun lalu
README.md 59f6bba570 Update README.md 1 tahun lalu
setup.py a4bf0eebb9 Update 1 tahun lalu

README.md

TGConvertor

PyPI PyPI - License

This module is small util for easy converting Telegram sessions to various formats (Telethon, Pyrogram, Tdata)


Installation

$ pip install TGConvertor

Quickstart

from TGConvertor import SessionManager

session = SessionManager.from_pyrogram_string('session_str')
print(session.to_pyrogram_string())

How it works

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.

Donate

USDT (BEP20): 0x34412717daaf427efa39c8508db4f62cce0d6d48