14 lines
250 B
Markdown
14 lines
250 B
Markdown
# @mtcute/sqlite
|
|
|
|
SQLite backed storage for mtcute, based on `better-sqlite3`
|
|
|
|
## Usage
|
|
|
|
```typescript
|
|
import { SqliteStorage } from '@mtcute/sqlite'
|
|
|
|
const tg = new TelegramClient({
|
|
// ...
|
|
storage: new SqliteStorage('client.session')
|
|
})
|
|
```
|