15 lines
224 B
Markdown
15 lines
224 B
Markdown
|
# @mtcute/sqlite
|
||
|
|
||
|
SQLite backed storage for mtcute.
|
||
|
|
||
|
## Usage
|
||
|
|
||
|
```typescript
|
||
|
import { SqliteStorage } from '@mtcute/sqlite'
|
||
|
|
||
|
const tg = new TelegramClient({
|
||
|
// ...
|
||
|
storage: new SqliteStorage('client.session')
|
||
|
})
|
||
|
```
|