Download Latest Version 1.2.0 source code.zip (1.3 MB)
Email in envelope

Get an email when there's a new version of Node.js Telegram Bot API

Home / v1.1.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2026-06-13 2.0 kB
v1.1.0 - Telegram Bot API 10.1 source code.tar.gz 2026-06-13 1.3 MB
v1.1.0 - Telegram Bot API 10.1 source code.zip 2026-06-13 1.3 MB
Totals: 3 Items   2.6 MB 0

Adds support for Telegram Bot API 10.1 (June 11, 2026) on top of the v1.0.0 TypeScript rewrite. No breaking changes — Node.js ≥ 18 and ESM-only are unchanged from v1.0.0.

Rich Messages

  • Added the method sendRichMessage(chatId, richMessage, form?)Message.
  • Added the method sendRichMessageDraft(chatId, draftId, richMessage, form?)boolean.
  • Added the parameter rich_message to editMessageText, alongside a new single-object overload: ```ts // New (preferred) — text or rich_message: editMessageText({ chat_id, message_id, text: "…" }) editMessageText({ chat_id, message_id, rich_message: { … } })

// Old (deprecated, still works): editMessageText("text", { chat_id, message_id }) ```

  • Added the type InputRichMessage (with html / markdown / is_rtl / skip_entity_detection fields), which is JSON-serialized automatically.
  • Regenerated src/types/schemas.ts with all new RichMessage, RichText, RichBlock, and related types.

Join Request Queries

  • Added the method answerChatJoinRequestQuery(queryId, result, form?)boolean.
  • Added the method sendChatJoinRequestWebApp(queryId, webAppUrl, form?)boolean.
  • Added the fields supports_join_request_queries to User, guard_bot to ChatFullInfo, and query_id to ChatJoinRequest (in the generated types).

Polls

  • Added the types Link and InputMediaLink (generated).

Also in this release

  • Live integration tests covering the Bot API 10.1 methods (#1308, [#1309]).
  • Regenerated api.md documentation for Bot API v10.1.
  • release and update-bot-api Claude Code skills added (#1310).
  • Anchored onText command regexes to the start of the message in the examples (#1311).
  • Restored the polling/webhook mutual-exclusion unit test.
  • Bumped dev dependency esbuild 0.28.0 → 0.28.1 (#1306).

Full Changelog: https://github.com/yagop/node-telegram-bot-api/compare/v1.0.0...v1.1.0

Source: README.md, updated 2026-06-13