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