Skip to content

Bump node-telegram-bot-api from 0.67.0 to 1.2.0 - #5

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/node-telegram-bot-api-1.2.0
Open

Bump node-telegram-bot-api from 0.67.0 to 1.2.0#5
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/node-telegram-bot-api-1.2.0

Conversation

@dependabot

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

Copy link
Copy Markdown

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

Release notes

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

1.2.0

Added

  • Support for Telegram Bot API 10.2:
    • Ephemeral Messages: new methods editEphemeralMessageText, editEphemeralMessageMedia, editEphemeralMessageCaption, editEphemeralMessageReplyMarkup and deleteEphemeralMessage; new receiver_user_id / callback_query_id options on sendMessage, sendAnimation, sendAudio, sendDocument, sendPhoto, sendSticker, sendVideo, sendVideoNote, sendVoice, sendContact, sendLocation and sendVenue; ephemeral_message_id on Message and ReplyParameters (whose message_id is now optional); is_ephemeral on BotCommand; receiver_user on Message.
    • Rich Messages: new InputRichMessageMedia, InputMediaVoiceNote, InputRichBlockListItem and the InputRichBlock* block classes; new media and blocks fields on InputRichMessage.
    • Communities: new Community, CommunityChatAdded and CommunityChatRemoved types; community_chat_added / community_chat_removed on Message; community on ChatFullInfo.
    • General: new BotSubscriptionUpdated type and the subscription update field.

Full changelog: yagop/node-telegram-bot-api@v1.1.2...v1.2.0

v1.1.2 - CommonJS support

v1.1.2 - 2026-06-25

Added

  • CommonJS consumption restored. The package now ships a dual ESM + CJS build (produced by zshy): the package.json exports map exposes both an import and a require condition (with their own .d.ts / .d.cts typings), so the library can be loaded with either syntax —

    // CommonJS
    const { TelegramBot } = require("node-telegram-bot-api");
    // ESM (unchanged)
    import TelegramBot from "node-telegram-bot-api";

    The v1.0.0 dynamic-import workaround (const { default: TelegramBot } = await import("node-telegram-bot-api")) is no longer required. Source maps are emitted for both module formats, and each CJS artifact references its own map.

v1.1.1

... (truncated)

Changelog

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

[1.2.0][1.2.0] - 2026-07-14

Added

  • Support for Telegram Bot API 10.2:
    • Ephemeral Messages: new methods editEphemeralMessageText, editEphemeralMessageMedia, editEphemeralMessageCaption, editEphemeralMessageReplyMarkup and deleteEphemeralMessage; new receiver_user_id / callback_query_id options on sendMessage, sendAnimation, sendAudio, sendDocument, sendPhoto, sendSticker, sendVideo, sendVideoNote, sendVoice, sendContact, sendLocation and sendVenue; ephemeral_message_id on Message and ReplyParameters (whose message_id is now optional); is_ephemeral on BotCommand; receiver_user on Message.
    • Rich Messages: new InputRichMessageMedia, InputMediaVoiceNote, InputRichBlockListItem and the InputRichBlock* block classes; new media and blocks fields on InputRichMessage.
    • Communities: new Community, CommunityChatAdded and CommunityChatRemoved types; community_chat_added / community_chat_removed on Message; community on ChatFullInfo.
    • General: new BotSubscriptionUpdated type and the subscription update field.

[1.1.2][1.1.2] - 2026-06-25

Added

  • CommonJS consumption restored. The package now ships a dual ESM + CJS build (produced by zshy): the package.json exports map exposes both an import and a require condition (with their own .d.ts / .d.cts typings), so the library can be loaded with either syntax —

    // CommonJS
    const { TelegramBot } = require("node-telegram-bot-api");
    // ESM (unchanged)
    import TelegramBot from "node-telegram-bot-api";

    The v1.0.0 dynamic-import workaround (const { default: TelegramBot } = await import("node-telegram-bot-api")) is no longer required. Source maps are emitted for both module formats, and each CJS artifact references its own map.

[1.1.1][1.1.1] - 2026-06-22

Added

  • request.fetch and request.fetchOptions options (on the TelegramBot

... (truncated)

Commits
  • e8b79aa Merge pull request #1338 from yagop/version/1.2.0
  • bd59e89 1.2.0
  • cdff14d Merge pull request #1337 from yagop/feat/bot-api-10.2
  • b1a8b62 Add support for Bot API 10.2
  • 0656d96 Merge pull request #1326 from yagop/version/1.1.2
  • dafbb72 1.1.2
  • 81a7431 Merge pull request #1325 from yagop/codex/v1-zshy-cjs-build
  • 9a07c83 fix: point CJS source maps at their own files; refresh docs/changelog
  • 7daae07 docs: simplify CommonJS usage note
  • 9d9a24e build: add zshy dual module output
  • Additional commits viewable in compare view
Install script changes

This version adds prepare script that runs during installation. Review the package contents before updating.


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 0.67.0 to 1.2.0.
- [Release notes](https://github.com/yagop/node-telegram-bot-api/releases)
- [Changelog](https://github.com/yagop/node-telegram-bot-api/blob/v1.2.0/CHANGELOG.md)
- [Commits](yagop/node-telegram-bot-api@v0.67.0...v1.2.0)

---
updated-dependencies:
- dependency-name: node-telegram-bot-api
  dependency-version: 1.2.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 12, 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