📦 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
Открыть в TelegramNode Telegram Bot API
https://github.com/yagop/node-telegram-bot-api/graphs/contributors
Средние просмотры поста по дням
По дню публикации
Показать таблицей
| Дата | Просмотров на пост |
|---|---|
| 2 нояб. 2026 г. | 958 |
| 4 нояб. 2026 г. | 1 030 |
| 9 нояб. 2026 г. | 976 |
| 21 нояб. 2026 г. | 590 |
| 26 нояб. 2026 г. | 326 |
Самые просматриваемые за месяц
- 01Просмотры1,03 тыс.Пересылки—Реакции1Комментарии—
- 02Просмотры976Пересылки—Реакции3Комментарии—
- 03Просмотры958Пересылки—Реакции4Комментарии—
- 04Просмотры590Пересылки—Реакции—Комментарии—
Новые посты
📦 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
Открыть в Telegram🚀 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 [email protected]
Открыть в Telegram🚀 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 [email protected]
Открыть в Telegram🚀 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
Открыть в Telegram🚀 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 [email protected] 📝 Changelog: https://github.com/yagop/node-telegram-bot-api/releases/tag/v2.1.0
Открыть в Telegram🚀 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
Открыть в Telegram🚀 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
Открыть в Telegram🛠 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 [email protected] 📝 Changelog: v1.1.2
Открыть в Telegram🛠 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 [email protected] 📝 Changelog: v1.1.1
Открыть в Telegram