0.12.0 ā€¢ Published 3 days ago

@mtcute/dispatcher v0.12.0

Weekly downloads
-
License
MIT
Repository
-
Last release
3 days ago

@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.12.0

3 days ago

0.11.1

16 days ago

0.11.0

19 days ago

0.10.0

1 month ago

0.9.0

2 months ago

0.8.0

2 months ago

0.7.0

3 months ago

0.5.0

5 months ago

0.6.0

5 months ago

0.4.0

5 months ago

0.3.0

5 months ago

0.2.1

5 months ago

0.2.0

5 months ago

0.1.2

6 months ago

0.1.1

6 months ago

0.1.0

6 months ago