Skip to content

Mich-ele/telegram_web_to_telethon_session

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Telegram Web to Telethon session

Script to convert telegram web session into Telethon string session. In order to use it you need to extract the dc[x]_auth_key from local storage.

It will generate a string session that you can use with telethon like this:

from telethon.sessions import StringSession
from telethon.sync import TelegramClient

session = StringSession("put your session here")
client = TelegramClient(session, "api_id", "api_hash")

tool

Releases

No releases published

Packages

No packages published

Languages