TGConvertor icon indicating copy to clipboard operation
TGConvertor copied to clipboard

This module is small util for easy converting Telegram sessions to various formats

Results 8 TGConvertor issues
Sort by recently updated
recently updated
newest added

If I go to telegram using this tdata then everything works, but when I try to load_from_tdata in telethon_client() I get an error. Again, I repeat that the tdata is...

Code : ``` from TGConvertor import SessionManager import asyncio async def main(): session_name = "Gkfjnwejkf.session" session = await SessionManager.from_pyrogram_file(file=f'{session_name}') await session.to_tdata_folder(f'{session_name}') if __name__ == '__main__': asyncio.run(main()) ``` Error: ``` Traceback...

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

Code: ```python async def main(): session_name = "998331062104.session" try: session = await SessionManager.from_telethon_file(file=f'sessions/tele_sessions/{session_name}') print(1) await session.to_pyrogram_file(f'sessions/pyro_sessions/{session_name}') print(2) session = await SessionManager.from_pyrogram_file(file=f'sessions/pyro_sessions/{session_name}') print(3) except Exception as er: print(f'Error: {er}') if __name__...

Hello can you please tell me how to use it . I have pyrogram created .sessions file now i want to convert it to Telethon .session file

Думаю всем известно что оффициальный pyrogram давно не поддерживается. В этом треде лишь просьба добавить поддержку привода к форку pyrogram который поддерживает сообщество. https://github.com/KurimuzonAkuma/pyrogram там немного отличается структура.

import asyncio from TGConvertor import SessionManager async def main(): session = await SessionManager.from_telethon_file('14744787710.session') print(await session.to_pyrogram_file('14744787710_pr2.session')) asyncio.run(main()) While using pyrogram client I am getting this error: File "C:\Users\lador\Desktop\Projects\tg_passcode\venv\Lib\site-packages\pyrogram\storage\sqlite_storage.py", line 214, in...