Platform agnostic #19

Merged
teidesu merged 25 commits from platform-agnostic into master 2024-03-07 05:54:20 +03:00
Showing only changes of commit 638b214cc1 - Show all commits

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)