0.24.0 ⢠Published 8 months ago
@mtcute/convert v0.24.0
@mtcute/convert
š API Reference
This package can be used to convert other libraries sessions to/from mtcute sessions
Currently only the libraries that support exporting sessions to strings are supported, namely:
Telethon
Telethon v2 seems to have removed the ability to export sessions, so it's currently not supported
import { convertFromTelethonSession } from '@mtcute/convert'
const client = new TelegramClient({ ... })
await client.importSession(convertFromTelethonSession("..."))Pyrogram
import { convertFromPyrogramSession } from '@mtcute/convert'
const client = new TelegramClient({ ... })
await client.importSession(convertFromPyrogramSession("..."))GramJS
import { convertFromGramjsSession } from '@mtcute/convert'
const client = new TelegramClient({ ... })
await client.importSession(convertFromGramjsSession("..."))MTKruto
import { convertFromMtkrutoSession } from '@mtcute/convert'
const client = new TelegramClient({ ... })
await client.importSession(convertFromMtkrutoSession("..."))0.18.0-rc.5
1 year ago
0.21.0
12 months ago
0.19.8
1 year ago
0.20.0
1 year ago
0.19.0
1 year ago
0.19.1
1 year ago
0.19.2
1 year ago
0.19.3
1 year ago
0.19.4
1 year ago
0.18.0
1 year ago
0.24.0
8 months ago
0.23.0
10 months ago
0.22.0
11 months ago
0.17.0
1 year ago
0.16.9
1 year ago
0.16.7
1 year ago
0.13.0
2 years ago
0.14.0
2 years ago
0.15.0
2 years ago
0.16.0
2 years ago
0.12.0
2 years ago
0.11.0
2 years ago
0.10.0
2 years ago
0.9.0
2 years ago
0.8.0
2 years ago