npm telegraf 4.9.0
v4.9.0

latest releases: 4.16.3, 4.16.2, 4.16.1...
2 years ago

You can now follow Telegraf releases on Telegram

  • Added support for Bot API 6.1, and API 6.2.
  • Easier Webhooks! Added Telegraf::createWebhook which calls setWebhook, and returns Express-style middleware. [Example]
  • New docs! at feathers-studio/telegraf-docs. All examples were moved there and updated to full TS and ESM.
  • More type exports: Experimental export of internal types (such as the Extra* types) now found as: import type { Convenience } from "telegraf/types" (#1659)
  • Actual replies: New middleware: import { useNewReplies } from telegraf/future that changes the behaviour of Context::reply* methods to actually reply to the context message. This will be the default in v5.
  • Added Context::sendMessage and Context:sendWith* methods to replace the old Context::reply and Context::replyWith* methods.
  • Updated Telegraf binary! Supports ESM modules, new command-line options --method and --data to call API methods from the command-line.

Don't miss a new telegraf release

NewReleases is sending notifications on new releases.