LonamiWebs / Telethon

Pure Python 3 MTProto API Telegram client library, for bots too!

Home Page:https://docs.telethon.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Convert Telegram web auth keys to sssion file

vhdm opened this issue · comments

Describe your suggested feature

Hi @Lonami , is it possible to convert logged in web telegram auth keys (local storage) to session file and use it in teleton?

Screenshot 2024-03-26 at 11 57 20 PM

Checklist

  • I have searched for this issue before posting it and there isn't a duplicate.

You can certainly do it, as the code is open source and freely available. I have no plans to make this feature built-in though. There is enough spam as is.

My suggestion is to just login again, which one should be able to do in legitimate cases.