mtcute/packages/sqlite
2023-10-29 20:25:06 +03:00
..
index.ts docs: use @default jsdoc tag 2023-10-29 20:25:06 +03:00
package.json ESM + end-to-end tests (#11) 2023-10-16 19:23:53 +03:00
README.md docs: improve documentation 2022-08-29 16:22:57 +03:00
tsconfig.json ESM + end-to-end tests (#11) 2023-10-16 19:23:53 +03:00
typedoc.cjs docs: updated typedoc, added ci, fixed some docs 2023-10-27 14:25:21 +03:00

@mtcute/sqlite

SQLite backed storage for mtcute, based on better-sqlite3

Usage

import { SqliteStorage } from '@mtcute/sqlite'

const tg = new TelegramClient({
    // ...
    storage: new SqliteStorage('client.session')
})