0.17.2 ā¢ Published 1 month 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
2 months ago
0.17.2
1 month ago
0.17.0
1 month ago
0.16.9
2 months ago
0.16.7
3 months ago
0.13.0
6 months ago
0.14.0
5 months ago
0.15.0
5 months ago
0.12.3
6 months ago
0.16.0
4 months ago
0.12.4
6 months ago
0.15.2
4 months ago
0.13.4
5 months ago
0.12.0
6 months ago
0.11.1
7 months ago
0.11.0
7 months ago
0.10.0
8 months ago
0.9.0
8 months ago
0.8.0
8 months ago
0.7.0
9 months ago
0.5.0
11 months ago
0.6.0
11 months ago
0.4.0
11 months ago
0.3.0
11 months ago
0.2.1
12 months ago
0.2.0
12 months ago
0.1.2
1 year ago
0.1.1
1 year ago
0.1.0
1 year ago