node-telegram-bot-api breaking changes
node-telegram-bot-api 2.0.0 (August 16, 2026) is its newest release with breaking changes, 123 of them. The first: Removed BaseError.toJSON. Every breaking API change we have recorded in node-telegram-bot-api on npm: 880 breaking changes in 4 versions. Below, its 4 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 2.5.0, released November 26, 2026. Source repository
Its 1.0.0 release requires Node.js 18 or later. Node.js end of life dates.
node-telegram-bot-api 2.0.0 breaking changes
- Removed
BaseError.toJSON
BaseError.toJSON was removed in node-telegram-bot-api 2.0.0 npmjs.com - Removed
bot.onReplyToMessage
Reply handling must now be done in middleware by reading ctx.message.reply_to_message. github.com - Removed
bot.onText
Text matchers are now bot.hears, which receives a context object instead of the message and match arguments. github.com - Removed
bot.sendMessage
Send methods move to bot.api and take a single params object with chat_id and text fields. github.com - Removed
BotOptionsBase
BotOptionsBase was removed in node-telegram-bot-api 2.0.0 npmjs.com - Removed
default
default was removed in node-telegram-bot-api 2.0.0 npmjs.com - Removed
EFATAL
Catch NetworkError (EFETCH) and TimeoutError (ETIMEOUT) instead of the EFATAL code. github.com - Removed
error.code
Catch TelegramApiError with instanceof and check errorCode instead of matching error.code or message text. github.com - Removed
errors
errors was removed in node-telegram-bot-api 2.0.0 npmjs.com - Removed
Errors
Errors was removed in node-telegram-bot-api 2.0.0 npmjs.com - Removed
EventMetadata
EventMetadata was removed in node-telegram-bot-api 2.0.0 npmjs.com - Removed
FatalError
FatalError was removed in node-telegram-bot-api 2.0.0 npmjs.com - Removed
HttpClient
HttpClient was removed in node-telegram-bot-api 2.0.0 npmjs.com - Removed
HttpClientOptions
HttpClientOptions was removed in node-telegram-bot-api 2.0.0 npmjs.com - Removed
inputFileToBlob
Nothing converts uploads to FormData anymore, so drop calls to inputFileToBlob. github.com - Removed
InputProfilePhotoInput
InputProfilePhotoInput was removed in node-telegram-bot-api 2.0.0 npmjs.com - Removed
MESSAGE_TYPES
MESSAGE_TYPES was removed in node-telegram-bot-api 2.0.0 npmjs.com - Removed
MessageType
MessageType was removed in node-telegram-bot-api 2.0.0 npmjs.com - Removed
ParseError.response
ParseError.response was removed in node-telegram-bot-api 2.0.0 npmjs.com - Removed
PollingOptions
PollingOptions was removed in node-telegram-bot-api 2.0.0 npmjs.com - Removed
PollingStartOptions
PollingStartOptions was removed in node-telegram-bot-api 2.0.0 npmjs.com - Removed
PollingStopOptions
PollingStopOptions was removed in node-telegram-bot-api 2.0.0 npmjs.com - Removed
reply_markup
Pass reply_markup as a plain typed object or builder output; the pipeline serializes it. github.com - Removed
request.fetchOptions.dispatcher
Pass a custom fetch option to the Bot constructor to set a proxy dispatcher. github.com - Removed
RequestOptions
RequestOptions was removed in node-telegram-bot-api 2.0.0 npmjs.com - Removed
TelegramBot
v2 has no TelegramBot class and no shim. Import Bot instead and rewrite code against the new API. npmjs.com - Removed
TelegramBotEvents
TelegramBotEvents was removed in node-telegram-bot-api 2.0.0 npmjs.com - Removed
TelegramBotOptions
TelegramBotOptions was removed in node-telegram-bot-api 2.0.0 npmjs.com - Removed
TelegramBotPolling
TelegramBotPolling was removed in node-telegram-bot-api 2.0.0 npmjs.com - Removed
TelegramBotWebHook
TelegramBotWebHook was removed in node-telegram-bot-api 2.0.0 npmjs.com - Removed
TelegramError
TelegramError was removed in node-telegram-bot-api 2.0.0 npmjs.com - Removed
TelegramErrorResponse
TelegramErrorResponse was removed in node-telegram-bot-api 2.0.0 npmjs.com - Removed
Update.business_connection
Update.business_connection was removed in node-telegram-bot-api 2.0.0 npmjs.com - Removed
Update.business_message
Update.business_message was removed in node-telegram-bot-api 2.0.0 npmjs.com - Removed
Update.callback_query
Update.callback_query was removed in node-telegram-bot-api 2.0.0 npmjs.com - Removed
Update.channel_post
Update.channel_post was removed in node-telegram-bot-api 2.0.0 npmjs.com - Removed
Update.chat_boost
Update.chat_boost was removed in node-telegram-bot-api 2.0.0 npmjs.com - Removed
Update.chat_join_request
Update.chat_join_request was removed in node-telegram-bot-api 2.0.0 npmjs.com - Removed
Update.chat_member
Update.chat_member was removed in node-telegram-bot-api 2.0.0 npmjs.com - Removed
Update.chosen_inline_result
Update.chosen_inline_result was removed in node-telegram-bot-api 2.0.0 npmjs.com - Removed
Update.deleted_business_messages
Update.deleted_business_messages was removed in node-telegram-bot-api 2.0.0 npmjs.com - Removed
Update.edited_business_message
Update.edited_business_message was removed in node-telegram-bot-api 2.0.0 npmjs.com - Removed
Update.edited_channel_post
Update.edited_channel_post was removed in node-telegram-bot-api 2.0.0 npmjs.com - Removed
Update.edited_message
Update.edited_message was removed in node-telegram-bot-api 2.0.0 npmjs.com - Removed
Update.guest_message
Update.guest_message was removed in node-telegram-bot-api 2.0.0 npmjs.com - Removed
Update.inline_query
Update.inline_query was removed in node-telegram-bot-api 2.0.0 npmjs.com - Removed
Update.managed_bot
Update.managed_bot was removed in node-telegram-bot-api 2.0.0 npmjs.com - Removed
Update.message
Update.message was removed in node-telegram-bot-api 2.0.0 npmjs.com - Removed
Update.message_reaction
Update.message_reaction was removed in node-telegram-bot-api 2.0.0 npmjs.com - Removed
Update.message_reaction_count
Update.message_reaction_count was removed in node-telegram-bot-api 2.0.0 npmjs.com
And 73 more in this version. Sign up to see every change
node-telegram-bot-api 2.0.0-alpha.3 breaking changes
- Removed
inputFileToBlob
Nothing converts uploads to FormData anymore, so remove calls to inputFileToBlob. github.com - Default changed
timeoutMs
The default timeoutMs is now 5 minutes instead of 30 seconds, so requests can wait much longer before timing out. github.com
node-telegram-bot-api 2.0.0-alpha.2 breaking changes
- Behavior changed
bot.catch
By default handler errors are logged and the bot continues. Install your own handler with bot.catch and rethrow to keep fail-loud behavior. github.com - Behavior changed
webhookCallback
If your error boundary rethrows, webhookCallback returns HTTP 500 so Telegram redelivers the update. github.com
node-telegram-bot-api 1.0.0 breaking changes
- Removed
The package is now ESM-only, so require() no longer works. Switch to import, or use a dynamic import() from CommonJS. github.com - Removed
The package now requires Node.js 18 or later. Upgrade Node.js to 18 or newer before installing v1.0.0. github.com - Removed
AbstractReactionType
AbstractReactionType was removed in node-telegram-bot-api 1.0.0 npmjs.com - Removed
AddStickerToSetOptions
AddStickerToSetOptions was removed in node-telegram-bot-api 1.0.0 npmjs.com - Removed
Animation.thumb
Animation.thumb was removed in node-telegram-bot-api 1.0.0 npmjs.com - Removed
AnswerCallbackQueryOptions
AnswerCallbackQueryOptions was removed in node-telegram-bot-api 1.0.0 npmjs.com - Removed
AnswerInlineQueryOptions
AnswerInlineQueryOptions was removed in node-telegram-bot-api 1.0.0 npmjs.com - Removed
AnswerPreCheckoutQueryOptions
AnswerPreCheckoutQueryOptions was removed in node-telegram-bot-api 1.0.0 npmjs.com - Removed
AnswerShippingQueryOptions
AnswerShippingQueryOptions was removed in node-telegram-bot-api 1.0.0 npmjs.com - Removed
Audio.thumb
Audio.thumb was removed in node-telegram-bot-api 1.0.0 npmjs.com
And 743 more in this version. Sign up to see every change
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.