0.17.2 ⢠Published 7 months ago
@mtcute/dispatcher v0.17.2
@mtcute/dispatcher
š API Reference š§ Guide
Dispatcher and bot framework based on @mtcute/core.
Features
- Straightforward: Simple and expressive API
- State: Supports storing state for each chat
- Filters: Powerful and easy-to-use filtering system
- Middleware: Basic middleware support for updates
- Scenes: Built-in support for scenes
Usage
import { Dispatcher } from '@mtcute/dispatcher'
const tg = new TelegramClient({ ... })
const dp = Dispatcher.for(tg)
dp.onNewMessage(async (msg) => {
await msg.replyText('Hello world!')
})
0.16.13
8 months ago
0.17.2
7 months ago
0.17.0
7 months ago
0.16.9
8 months ago
0.16.7
9 months ago
0.13.0
12 months ago
0.14.0
11 months ago
0.15.0
11 months ago
0.12.3
12 months ago
0.16.0
10 months ago
0.12.4
12 months ago
0.15.2
10 months ago
0.13.4
11 months ago
0.12.0
1 year ago
0.11.1
1 year ago
0.11.0
1 year ago
0.10.0
1 year ago
0.9.0
1 year ago
0.8.0
1 year ago
0.7.0
1 year ago
0.5.0
1 year ago
0.6.0
1 year ago
0.4.0
1 year ago
0.3.0
1 year ago
0.2.1
1 year ago
0.2.0
1 year ago
0.1.2
1 year ago
0.1.1
2 years ago
0.1.0
2 years ago