SAMOILENKO.TK
All work

05Open source

Telegramma

Telegram bot framework for Node.js: a maintained fork of Telegraf that tracks the latest Bot API (v10.4), with TypeScript declarations for the whole API and a NestJS module — a drop-in replacement published as three npm packages.

Contribution

  • Maintain a fork of Telegraf that keeps pace with the Telegram Bot API (now v10.4); the public API is unchanged from Telegraf v4, so it is a drop-in replacement.
  • Added the newer API methods: ephemeral and rich messages, live photos, guest mode, poll media, join-request queries, widgets.
  • Maintain handwritten TypeScript declarations for the whole Bot API as a separate package, @anysk/telegramma-types.
  • Forked nestjs-telegraf as @anysk/telegramma-nestjs, so NestJS apps get the same API level through decorators and modules.
  • Published on npm under the MIT license and used in production in my own Telegram bots.

Preview

2 screens
Telegramma
Telegramma
Open project