| Name | Modified | Size | Downloads / 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_messagetoeditMessageText, 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(withhtml/markdown/is_rtl/skip_entity_detectionfields), which is JSON-serialized automatically. - Regenerated
src/types/schemas.tswith 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_queriestoUser,guard_bottoChatFullInfo, andquery_idtoChatJoinRequest(in the generated types).
Polls
- Added the types
LinkandInputMediaLink(generated).
Also in this release
- Live integration tests covering the Bot API 10.1 methods (#1308, [#1309]).
- Regenerated
api.mddocumentation for Bot API v10.1. releaseandupdate-bot-apiClaude Code skills added (#1310).- Anchored
onTextcommand regexes to the start of the message in the examples (#1311). - Restored the polling/webhook mutual-exclusion unit test.
- Bumped dev dependency
esbuild0.28.0 → 0.28.1 (#1306).
Full Changelog: https://github.com/yagop/node-telegram-bot-api/compare/v1.0.0...v1.1.0