@anysk/telegramma-nestjs
v4.0.0
Published
Telegraf module for NestJS
Maintainers
Readme
Telegramma NestJS – powerful solution for creating Telegram bots.
Fork notice. This is a maintained fork of
nestjs-telegraf, published as@anysk/telegramma-nestjs. It tracks the latest Telegram Bot API (v10.1) by overriding Telegraf's type dependency with the sibling fork@anysk/telegramma-types.
This package uses the best of the NodeJS world under the hood. Telegraf is the most powerful library for creating bots and NestJS is a progressive framework for creating well-architectured applications. This module provides fast and easy way for creating Telegram bots and deep integration with your NestJS application.
Features
- Simple. Easy to use.
- Ton of decorators available out of the box for handling bot actions.
- Ability to create custom decorators.
- Scenes support.
- Telegraf plugins and custom plugins support.
- Ability to run multiple bots simultaneously.
- Full support of NestJS guards, interceptors, filters and pipes!
Installation
$ npm i @anysk/telegramma-nestjs @anysk/telegrammaThis package is built on @anysk/telegramma
(a Telegraf fork tracking the latest Bot API) which in turn ships
@anysk/telegramma-types. So you get
full Telegram Bot API v10.1 support (rich messages, live photos, guest mode,
poll media, join-request queries, etc.) out of the box — no npm overrides needed.
Documentation
Check out the documentation site.
