docs(dispatcher): readme
This commit is contained in:
parent
f9d9133e88
commit
638b214cc1
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ Dispatcher and bot framework based on @mtcute/core.
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
```ts
|
```ts
|
||||||
import { TelegramClient, Dispatcher } from '@mtcute/node'
|
import { Dispatcher } from '@mtcute/dispatcher'
|
||||||
|
|
||||||
const tg = new TelegramClient({ ... })
|
const tg = new TelegramClient({ ... })
|
||||||
const dp = Dispatcher.for(tg)
|
const dp = Dispatcher.for(tg)
|
||||||
|
|
Loading…
Reference in a new issue