Skip to content

Bump node-telegram-bot-api from 1.2.0 to 2.1.0 in /src - #23

Open
dependabot[bot] wants to merge 1 commit into
devfrom
dependabot/npm_and_yarn/src/dev/node-telegram-bot-api-2.1.0
Open

Bump node-telegram-bot-api from 1.2.0 to 2.1.0 in /src#23
dependabot[bot] wants to merge 1 commit into
devfrom
dependabot/npm_and_yarn/src/dev/node-telegram-bot-api-2.1.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 28, 2026

Copy link
Copy Markdown

Bumps node-telegram-bot-api from 1.2.0 to 2.1.0.

Release notes

Sourced from node-telegram-bot-api's releases.

2.1.0

[2.1.0][2.1.0] - 2026-08-24

Builders

  • Added RichTextBuilder - a fluent builder for the recursive RichText tree, 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 the blocks form of InputRichMessage (sendRichMessage/sendRichMessageDraft), covering every block type; nested blocks (list/blockquote/collage/slideshow/details) take a nested builder or callback, and media blocks embed InputFiles (hoisted to attach://).
  • Added RichMessageButtonBuilder for a single RichMessageButton (rich label, style, and one action), plus the richMessageButton, richCaption, richTableCell, and richListItem helpers.
  • Fixed the type generator so RichText models its true wire union (string | RichText[] | ...nodes); every text: RichText field 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, and RichBlockDocument/InputRichBlockDocument.
  • Added is_compact to RichBlockTable and InputRichBlockTable, InputMediaDocument to InputRichMessageMedia.media, and support for tg://document?id= upload links.

Ephemeral Messages

  • Added EphemeralMessageParameters and replaced receiver_user_id/callback_query_id with ephemeral_message_parameters in the 13 supported send methods; added ephemeral_message_parameters to sendRichMessage.
  • Added replace_callback_query_message to EphemeralMessageParameters, file upload in editEphemeralMessageMedia, show_caption_above_media to editEphemeralMessageCaption, and rich_message to editEphemeralMessageText.
  • Added can_send_welcome_messages to ChatAdministratorRights, ChatMemberAdministrator, and promoteChatMember.

Reply markup

  • Added DisabledButton and disabled on InlineKeyboardButton, plus force_reply on InlineKeyboardMarkup and ReplyKeyboardMarkup.

General

  • Added can_stop/keep_on_stop to sendMessageDraft and sendRichMessageDraft.
  • Added MessageGenerationStopped and the stopped_message_generation update type.

... (truncated)

Changelog

Sourced from node-telegram-bot-api's changelog.

[2.1.0][2.1.0] - 2026-08-24

Builders

  • Added RichTextBuilder - a fluent builder for the recursive RichText tree, 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 the blocks form of InputRichMessage (sendRichMessage/sendRichMessageDraft), covering every block type; nested blocks (list/blockquote/collage/slideshow/details) take a nested builder or callback, and media blocks embed InputFiles (hoisted to attach://).
  • Added RichMessageButtonBuilder for a single RichMessageButton (rich label, style, and one action), plus the richMessageButton, richCaption, richTableCell, and richListItem helpers.
  • Fixed the type generator so RichText models its true wire union (string | RichText[] | ...nodes); every text: RichText field 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, and RichBlockDocument/InputRichBlockDocument.
  • Added is_compact to RichBlockTable and InputRichBlockTable, InputMediaDocument to InputRichMessageMedia.media, and support for tg://document?id= upload links.

Ephemeral Messages

  • Added EphemeralMessageParameters and replaced receiver_user_id/callback_query_id with ephemeral_message_parameters in the 13 supported send methods; added ephemeral_message_parameters to sendRichMessage.
  • Added replace_callback_query_message to EphemeralMessageParameters, file upload in editEphemeralMessageMedia, show_caption_above_media to editEphemeralMessageCaption, and rich_message to editEphemeralMessageText.
  • Added can_send_welcome_messages to ChatAdministratorRights, ChatMemberAdministrator, and promoteChatMember.

Reply markup

  • Added DisabledButton and disabled on InlineKeyboardButton, plus force_reply on InlineKeyboardMarkup and ReplyKeyboardMarkup.

General

  • Added can_stop/keep_on_stop to sendMessageDraft and sendRichMessageDraft.
  • Added MessageGenerationStopped and the stopped_message_generation update type.
  • Added CommunityChatJoined and Message.community_chat_joined.

... (truncated)

Commits
  • 606cc67 Merge pull request #1348 from yagop/version/2.1.0
  • a2acae7 2.1.0
  • ce8204e Merge pull request #1347 from yagop/feat/rich-message-builders
  • 2831d78 docs: changelog entry for rich-message builders
  • 8f74f38 refactor: harden generator prose scan; drop undefined keys from blocks
  • 83b545b fix: RichMessageButtonBuilder.build returns a fresh copy
  • d21bdfb feat: add RichMessageButtonBuilder
  • a0985dd fix(api-parser): model RichText as its true wire union
  • 960865b feat: add RichText and RichMessage builders
  • af60c51 Merge pull request #1346 from yagop/feat/bot-api-10.3
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [node-telegram-bot-api](https://github.com/yagop/node-telegram-bot-api) from 1.2.0 to 2.1.0.
- [Release notes](https://github.com/yagop/node-telegram-bot-api/releases)
- [Changelog](https://github.com/yagop/node-telegram-bot-api/blob/master/CHANGELOG.md)
- [Commits](yagop/node-telegram-bot-api@v1.2.0...v2.1.0)

---
updated-dependencies:
- dependency-name: node-telegram-bot-api
  dependency-version: 2.1.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Aug 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants