Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

gramjs-session-file

Convert telethon .session file to StringSession for gram.js

gram.js, gramjs, telegram, string-session, telethon-session

readme

gramjs-session-file

Convert telethon .session file to StringSession for gram.js

Installation and use

npx gramjs-session-file

Or you can also install using npm:

npm i -g gramjs-session-file

Then run gramjs-session-file in your terminal, specify the path to the .session file (you can also specify a whole directory with .session files for bulk converting) and after that specify where the sessions.json file with your StringSessions will be saved