| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| 2.1.0 source code.tar.gz | 2026-08-24 | 228.1 kB | |
| 2.1.0 source code.zip | 2026-08-24 | 269.9 kB | |
| README.md | 2026-08-24 | 2.6 kB | |
| Totals: 3 Items | 500.7 kB | 0 | |
[2.1.0][2.1.0] - 2026-08-24
Builders
- Added
RichTextBuilder- a fluent builder for the recursiveRichTexttree, covering every node kind (bold/italic/underline/code/url/mention/date_time/ custom_emoji/anchor/reference/...), with nesting via strings or nested builders. - Added
RichMessageBuilder- a fluent builder for theblocksform ofInputRichMessage(sendRichMessage/sendRichMessageDraft), covering every block type; nested blocks (list/blockquote/collage/slideshow/details) take a nested builder or callback, and media blocks embedInputFiles (hoisted toattach://). - Added
RichMessageButtonBuilderfor a singleRichMessageButton(rich label,style, and one action), plus therichMessageButton,richCaption,richTableCell, andrichListItemhelpers. - Fixed the type generator so
RichTextmodels its true wire union (string | RichText[] | ...nodes); everytext: RichTextfield now accepts a plain string or array, not only a node object.
Bot API 10.3 (August 24, 2026)
Rich Messages
- Added
RichMessageButton,RichTextButton,RichBlockButtons/InputRichBlockButtons,RichBlockExpandableBlockQuotation/InputRichBlockExpandableBlockQuotation, andRichBlockDocument/InputRichBlockDocument. - Added
is_compacttoRichBlockTableandInputRichBlockTable,InputMediaDocumenttoInputRichMessageMedia.media, and support fortg://document?id=upload links.
Ephemeral Messages
- Added
EphemeralMessageParametersand replacedreceiver_user_id/callback_query_idwithephemeral_message_parametersin the 13 supported send methods; addedephemeral_message_parameterstosendRichMessage. - Added
replace_callback_query_messagetoEphemeralMessageParameters, file upload ineditEphemeralMessageMedia,show_caption_above_mediatoeditEphemeralMessageCaption, andrich_messagetoeditEphemeralMessageText. - Added
can_send_welcome_messagestoChatAdministratorRights,ChatMemberAdministrator, andpromoteChatMember.
Reply markup
- Added
DisabledButtonanddisabledonInlineKeyboardButton, plusforce_replyonInlineKeyboardMarkupandReplyKeyboardMarkup.
General
- Added
can_stop/keep_on_stoptosendMessageDraftandsendRichMessageDraft. - Added
MessageGenerationStoppedand thestopped_message_generationupdate type. - Added
CommunityChatJoinedandMessage.community_chat_joined. - Added
text,entities, andis_privatetoUniqueGiftInfo.
Full Changelog: https://github.com/yagop/node-telegram-bot-api/compare/v2.0.0...v2.1.0