Skip to content

v1.1.0 - Telegram Bot API 10.1

Choose a tag to compare

@yagop yagop released this 14 Jun 20:59
827d89d

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:
    // 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: v1.0.0...v1.1.0