docs(dispatcher): readme

This commit is contained in:
alina 🌸 2024-03-06 21:33:13 +03:00
parent f9d9133e88
commit 638b214cc1
Signed by: teidesu
SSH key fingerprint: SHA256:uNeCpw6aTSU4aIObXLvHfLkDa82HWH9EiOj9AXOIRpI

View file

@ -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)