๐Ÿš€ node-telegram-bot-api v1.1.0 is out โ€” with full Bot API 10.1 support!

โœจ Rich Messages
โ€ข sendRichMessage / sendRichMessageDraft
โ€ข editMessageText now accepts rich_message (new single-object call)
โ€ข new InputRichMessage type, auto-serialized

๐Ÿค Join Request Queries
โ€ข answerChatJoinRequestQuery
โ€ข sendChatJoinRequestWebApp

๐Ÿ“ฆ npm i node-telegram-bot-api@1.1.0
๐Ÿ“ Changelog: v1.1.0

Big thanks to danielperez9430 for landing the 10.1 work! ๐Ÿ™Œ
โค6๐Ÿ”ฅ4
๐Ÿ›  node-telegram-bot-api v1.1.1 is out - focused fixes for proxies, media edits, and stickers!

๐ŸŒ Per-bot custom transport
โ€ข request.fetch for custom fetch implementations
โ€ข request.fetchOptions for undici dispatchers / per-instance proxies
โ€ข no more process-wide setGlobalDispatcher needed

๐Ÿ–ผ Better editMessageMedia uploads
โ€ข media now accepts Buffer / stream / local path
โ€ข thumbnail / cover uploads work too
โ€ข file_id / URL usage stays unchanged

๐ŸŽจ Sticker set fixes
โ€ข createNewStickerSet / addStickerToSet now use the current Bot API shape
โ€ข no more legacy png_sticker / emojis fields
โ€ข supports attach:// uploads for sticker files

๐Ÿ“ฆ npm i node-telegram-bot-api@1.1.1
๐Ÿ“ Changelog: v1.1.1
โค6๐Ÿ‘2
๐Ÿ›  node-telegram-bot-api v1.1.2 is out - CommonJS support

๐Ÿ“ฆ Dual ESM + CommonJS build
โ€ข ESM imports keep working unchanged
โ€ข CommonJS can now use require() again
โ€ข ships matching .d.ts / .d.cts typings

๐Ÿ—บ Source maps
โ€ข emitted for both โœจ ESM and CJS builds

๐Ÿ“ฆ npm i node-telegram-bot-api@1.1.2
๐Ÿ“ Changelog: v1.1.2
๐Ÿš€ node-telegram-bot-api v1.2.0 is out - with Bot API 10.2 support!

๐Ÿ‘ป Ephemeral Messages: send group messages only one user can see:
bot.sendMessage(chatId, "hi", { receiver_user_id: userId })
Plus new methods to manage them: editEphemeralMessageText, editEphemeralMessageMedia, editEphemeralMessageCaption, editEphemeralMessageReplyMarkup and deleteEphemeralMessage.

๐Ÿ“ Rich Messages: new block-based formatting via InputRichMessage.blocks (paragraphs, headings, tables, collages, slideshows, maps and more), and explicit media with InputRichMessageMedia.

๐Ÿ‘ฅ Communities: initial support for linked supergroups/channels: new Community type, community_chat_added / community_chat_removed events and ChatFullInfo.community.

โญ Also: BotSubscriptionUpdated updates for payment subscription changes.

๐Ÿ“ฆ npm i node-telegram-bot-api
๐Ÿ“ Release notes: v1.2.0
๐Ÿ‘5โค4
๐Ÿš€ node-telegram-bot-api v2.0.0 is out!

โšก Runtime-agnostic core for Node.js, Bun, Deno, Cloudflare Workers, and other edge runtimes.

๐Ÿงฉ Koa-style middleware with per-update Context, filters, commands, and error boundaries.

๐Ÿ›  New builders for inline keyboards, entities, media groups, stories, stickers, and more.

๐Ÿ‘ป Ephemeral Messages, Rich Messages, Communities, and payment subscription updates are included.

๐Ÿ“ฆ npm i node-telegram-bot-api
๐Ÿ”„ Migration guide
๐Ÿ“ Release notes
โค8๐Ÿ”ฅ4๐Ÿ‘2
๐Ÿš€ node-telegram-bot-api 2.1.0 is out!

Full Bot API 10.3 support, plus new fluent builders for rich content:

โœจ RichTextBuilder - build the recursive RichText tree (bold/italic/code/url/mention/custom emoji/...), nesting with plain strings or nested builders

๐Ÿงฑ RichMessageBuilder - compose sendRichMessage blocks (lists, blockquotes, collages, slideshows, details), with InputFiles hoisted automatically

๐Ÿ”˜ RichMessageButtonBuilder + richMessageButton / richCaption / richTableCell / richListItem helpers.

Also in Bot API 10.3: ephemeral messages ๐Ÿ‘ป, DisabledButton + disabled inline buttons, force_reply on markup, stopped_message_generation updates, and more.

๐Ÿ“ฆ npm i node-telegram-bot-api@2.1.0
๐Ÿ“ Changelog: https://github.com/yagop/node-telegram-bot-api/releases/tag/v2.1.0
โค5
๐Ÿš€ node-telegram-bot-api 2.2.0 is out!

๐Ÿ—‚ Sessions - createSession() + ctx.getSession(), with Memory, File, SQLite, SQL and Redis stores (new /bun subpath). See Session example in 16-sessions
๐Ÿ’ฌ Reply & callback tracking that survives restarts and works on serverless - expectReply, matchCallback, taggedReplies
โ™ป๏ธ Bot lifecycle - bot.init() / bot.close() for middleware that owns resources
๐Ÿ›ก Polling survives 409 Conflict, webhook shutdown can't hang, run({ exitOnError })
๐Ÿ”จ Fix: reset sticky RegExp state in Bot.hears() . Thanks sinzbtw
๐Ÿ”’ reply_markup accepts only one markup object (stricter types)

Everything new is opt-in - 2.1.0 bots run unchanged.

๐Ÿ“ฆ npm i node-telegram-bot-api
๐Ÿ“ https://github.com/yagop/node-telegram-bot-api/releases/tag/v2.2.0
๐Ÿ‘3โค1
๐Ÿš€ node-telegram-bot-api 2.3.0 is out! โœจ

๐Ÿ—„ S3 session storage: S3SessionStorage keeps sessions in AWS S3, Cloudflare R2, MinIO or Spaces. It talks to S3 directly over fetch, so it runs on Node, Bun, Deno, Workers and edge.
๐ŸŽฏ Commands for the right bot: /start@other_bot no longer runs your handler. Your bot's identity is available as bot.botInfo / ctx.me.
๐Ÿ’ฌ Smarter ctx.reply(): replies stay in the same business connection and forum topic as the incoming message.
๐Ÿ›‘ Clean shutdowns: stopping the bot (Ctrl+C, a deploy's SIGTERM) mid-handler no longer makes Telegram redeliver that update on restart.
๐Ÿ”ง File uploads work on Node 18 again.

๐Ÿ™ Thanks kgeminicdev & vladosskins178 for their reports and comments
๐Ÿ“– Release notes and upgrade tips: https://github.com/yagop/node-telegram-bot-api/releases/tag/v2.3.0

npm i node-telegram-bot-api@2.3.0
โค1
๐Ÿš€ node-telegram-bot-api 2.4.0 is out!

๐Ÿ“ฆ Bot API 10.4 โœจ
โ€ข ๐Ÿงฉ Widgets: sendWidget, answerWidgetQuery, live shared widgets
โ€ข ๐Ÿ‘ป Ephemeral replies to a button tap with just callback_query_id, no chat_id
โ€ข ๐Ÿ’ฌ Quote parts of rich messages with quote_rich_texts
โ€ข ๐Ÿ’Ž TON wallet cards, chat share themes, getUniqueGift
๐Ÿ›ก Stricter types: a send without chat_id is now a compile error unless it's an ephemeral callback reply. If you wrap the send param types with Omit, switch to the new DistributiveOmit.

โฐ Rate limiter fix: rateLimit: { global, perChat } now respects both limits at send time.
๐Ÿ™ Thanks to SM-26 for the Bot API 10.4 support (#1391) and to kgeminicdev for reporting the rate limiter bug (#1390)!

๐Ÿ“ Changelog: https://github.com/yagop/node-telegram-bot-api/releases/tag/v2.4.0

npm i node-telegram-bot-api@2.4.0
โค1๐Ÿ‘1๐Ÿ‘1
๐Ÿ“ฆ node-telegram-bot-api 2.4.1 ๐Ÿ”จ

A small patch release with a polling fix:

๐Ÿ›‘ longPoll() now stops yielding the rest of the current batch once its signal is aborted, including for anyone calling it directly. No more stray updates handled after you've shut polling down.

๐Ÿ™ Thanks to sinzbtw for the fix (#1400)!

Upgrade:
npm i node-telegram-bot-api@latest

๐Ÿ“ Changelog: https://github.com/yagop/node-telegram-bot-api/releases/tag/v2.4.1
๐Ÿ“ฆ node-telegram-bot-api 2.5.0 ๐Ÿค–

Bot API 10.5 support, plus two new ctx shortcuts. Two breaking changes, both mirroring Telegram:

โš ๏ธ getMe() now returns BotFullInfo. The bot-only fields (can_join_groups, supports_inline_queries, ...) are no longer on User - read them
from getMe(), bot.botInfo or ctx.me. Typing the result as User still compiles.
โš ๏ธ Expandable block quotes take blocks instead of text: expandableBlockquote("text") -> expandableBlockquote((b) => b.paragraph("text")).
โœจ setMySettings - switch inline mode, privacy mode, group joining, private-chat topics and callback_query_mode from code.
โœจ ctx.editMessageText({ text, ... }) - edits the message a button was pressed on, choosing the target itself (the pressed message, or inline_message_id). The branch every callback bot had to hand-roll.
โœจ ctx.reply({ text, ... }) - object form, alongside ctx.reply(text, options). Both supported.
๐Ÿ’ก Heads-up: with callback_query_mode on, a press can arrive with no message. ctx.chat is undefined and ctx.reply throws - route by
callback_data or use the new edit shortcut.

๐Ÿ™ Thanks to SM-26 for the Bot API 10.5 work (#1402)!

Upgrade:
npm i node-telegram-bot-api@latest

๐Ÿ“ Changelog: https://github.com/yagop/node-telegram-bot-api/releases/tag/v2.5.0
โค2