@grammyjs/types breaking changes
Updated December 4, 2026
On this page
Latest version 5.2.0, released November 22, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
- From 4.0.0 to 5.2.0: 208 breaking changes in 3 versions.
- From 3.25.0 to 5.2.0: 345 breaking changes in 9 versions.
@grammyjs/types 5.2.0 breaking changes
- Removed
InputRichBlockExpandableBlockQuotation.text
InputRichBlockExpandableBlockQuotation.text was removed in @grammyjs/types 5.2.0 npmjs.com - Removed
RichBlockExpandableBlockQuotation.text
RichBlockExpandableBlockQuotation.text was removed in @grammyjs/types 5.2.0 npmjs.com - Removed
UserFromGetMe
UserFromGetMe was removed in @grammyjs/types 5.2.0 npmjs.com - Signature changed
ApiMethods
Was type ApiMethods<F> = {getUpdates(args?: {offset?: number; limit?: number; timeout?: number; allowed_updates?: ReadonlyArray<Exclude<keyof Update, "update_id">>;}): Update[]; setWebhook(args: {url: string; certificate?: F; ip_address?... npmjs.com - Signature changed
ApiMethods.getMe
Was getMe(): UserFromGetMe; now getMe(): BotFullInfo. npmjs.com - Signature changed
InputRichBlock
Was type InputRichBlock<F> = InputRichBlockParagraph | InputRichBlockSectionHeading | InputRichBlockPreformatted | InputRichBlockFooter | InputRichBlockDivider | InputRichBlockMathematicalExpression | InputRichBlockAnchor |... npmjs.com - Signature changed
InputRichBlockExpandableBlockQuotation
Was interface InputRichBlockExpandableBlockQuotation; now interface InputRichBlockExpandableBlockQuotation<F>. npmjs.com - Signature changed
Opts.getMe
Was getMe(): UserFromGetMe; now getMe(): BotFullInfo. npmjs.com
@grammyjs/types 5.1.0 breaking changes
- Removed
Message.ChecklistMessage.show_caption_above_media
Message.ChecklistMessage.show_caption_above_media was removed in @grammyjs/types 5.1.0 npmjs.com - Removed
Message.CommonMessage.show_caption_above_media
Message.CommonMessage.show_caption_above_media was removed in @grammyjs/types 5.1.0 npmjs.com - Removed
Message.ContactMessage.show_caption_above_media
Message.ContactMessage.show_caption_above_media was removed in @grammyjs/types 5.1.0 npmjs.com - Removed
Message.DiceMessage.show_caption_above_media
Message.DiceMessage.show_caption_above_media was removed in @grammyjs/types 5.1.0 npmjs.com - Removed
Message.GameMessage.show_caption_above_media
Message.GameMessage.show_caption_above_media was removed in @grammyjs/types 5.1.0 npmjs.com - Removed
Message.LocationMessage.show_caption_above_media
Message.LocationMessage.show_caption_above_media was removed in @grammyjs/types 5.1.0 npmjs.com - Removed
Message.PollMessage.show_caption_above_media
Message.PollMessage.show_caption_above_media was removed in @grammyjs/types 5.1.0 npmjs.com - Removed
Message.RichMessageMessage.show_caption_above_media
Message.RichMessageMessage.show_caption_above_media was removed in @grammyjs/types 5.1.0 npmjs.com - Removed
Message.StickerMessage.show_caption_above_media
Message.StickerMessage.show_caption_above_media was removed in @grammyjs/types 5.1.0 npmjs.com - Removed
Message.StoryMessage.show_caption_above_media
Message.StoryMessage.show_caption_above_media was removed in @grammyjs/types 5.1.0 npmjs.com
And 61 more in this version. Sign up to see every change
@grammyjs/types 5.0.0 breaking changes
- Removed
Opts.sendAnimation.callback_query_id
Opts.sendAnimation.callback_query_id was removed in @grammyjs/types 5.0.0 npmjs.com - Removed
Opts.sendAnimation.receiver_user_id
Opts.sendAnimation.receiver_user_id was removed in @grammyjs/types 5.0.0 npmjs.com - Removed
Opts.sendAudio.callback_query_id
Opts.sendAudio.callback_query_id was removed in @grammyjs/types 5.0.0 npmjs.com - Removed
Opts.sendAudio.receiver_user_id
Opts.sendAudio.receiver_user_id was removed in @grammyjs/types 5.0.0 npmjs.com - Removed
Opts.sendContact.callback_query_id
Opts.sendContact.callback_query_id was removed in @grammyjs/types 5.0.0 npmjs.com - Removed
Opts.sendContact.receiver_user_id
Opts.sendContact.receiver_user_id was removed in @grammyjs/types 5.0.0 npmjs.com - Removed
Opts.sendDocument.callback_query_id
Opts.sendDocument.callback_query_id was removed in @grammyjs/types 5.0.0 npmjs.com - Removed
Opts.sendDocument.receiver_user_id
Opts.sendDocument.receiver_user_id was removed in @grammyjs/types 5.0.0 npmjs.com - Removed
Opts.sendLivePhoto.callback_query_id
Opts.sendLivePhoto.callback_query_id was removed in @grammyjs/types 5.0.0 npmjs.com - Removed
Opts.sendLivePhoto.receiver_user_id
Opts.sendLivePhoto.receiver_user_id was removed in @grammyjs/types 5.0.0 npmjs.com
And 119 more in this version. Sign up to see every change
@grammyjs/types 4.0.0 breaking changes
- Signature changed
ApiMethods
Was type ApiMethods<F> = {getUpdates(args?: {offset?: number; limit?: number; timeout?: number; allowed_updates?: ReadonlyArray<Exclude<keyof Update, "update_id">>;}): Update[]; setWebhook(args: {url: string; certificate?: F; ip_address?... npmjs.com - Signature changed
ApiMethods.answerGuestQuery
Was answerGuestQuery(args: {guest_query_id: string; result: InlineQueryResult;}): SentGuestMessage; now answerGuestQuery(args: {guest_query_id: string; result: InlineQueryResult<F>;}): SentGuestMessage. npmjs.com - Signature changed
ApiMethods.answerInlineQuery
Was answerInlineQuery(args: {inline_query_id: string; results: readonly InlineQueryResult[]; cache_time?: number; is_personal?: boolean; next_offset?: string; button?: InlineQueryResultsButton;}): true; now answerInlineQuery(args... npmjs.com - Signature changed
ApiMethods.answerWebAppQuery
Was answerWebAppQuery(args: {web_app_query_id: string; result: InlineQueryResult;}): SentWebAppMessage; now answerWebAppQuery(args: {web_app_query_id: string; result: InlineQueryResult<F>;}): SentWebAppMessage. npmjs.com - Signature changed
ApiMethods.editMessageText
Was editMessageText(args: {business_connection_id?: string; chat_id?: number | string; message_id?: number; inline_message_id?: string; text?: string; parse_mode?: ParseMode; entities?: MessageEntity[]; link_preview_options?... npmjs.com - Signature changed
ApiMethods.savePreparedInlineMessage
Was savePreparedInlineMessage(args: {user_id: number; result: InlineQueryResult; allow_user_chats?: boolean; allow_bot_chats?: boolean; allow_group_chats?: boolean; allow_channel_chats?: boolean;}): PreparedInlineMessage; now... npmjs.com - Signature changed
ApiMethods.sendAnimation
Was sendAnimation(args: {business_connection_id?: string; chat_id: number | string; message_thread_id?: number; direct_messages_topic_id?: number; animation: F | string; duration?: number; width?: number; height?: number; thumbnail?: F... npmjs.com - Signature changed
ApiMethods.sendAudio
Was sendAudio(args: {business_connection_id?: string; chat_id: number | string; message_thread_id?: number; direct_messages_topic_id?: number; audio: F | string; caption?: string; parse_mode?: ParseMode; caption_entities?: MessageEntity[]... npmjs.com - Signature changed
ApiMethods.sendContact
Was sendContact(args: {business_connection_id?: string; chat_id: number | string; message_thread_id?: number; direct_messages_topic_id?: number; phone_number: string; first_name: string; last_name?: string; vcard?: string... npmjs.com - Signature changed
ApiMethods.sendDocument
Was sendDocument(args: {business_connection_id?: string; chat_id: number | string; message_thread_id?: number; direct_messages_topic_id?: number; document: F | string; thumbnail?: F; caption?: string; parse_mode?: ParseMode... npmjs.com
And 86 more in this version. Sign up to see every change
@grammyjs/types 3.28.0 breaking changes
- Signature changed
ApiMethods
Was type ApiMethods<F> = {getUpdates(args?: {offset?: number; limit?: number; timeout?: number; allowed_updates?: ReadonlyArray<Exclude<keyof Update, "update_id">>;}): Update[]; setWebhook(args: {url: string; certificate?: F; ip_address?... npmjs.com - Signature changed
ApiMethods.editMessageText
Was editMessageText(args: {business_connection_id?: string; chat_id?: number | string; message_id?: number; inline_message_id?: string; text: string; parse_mode?: ParseMode; entities?: MessageEntity[]; link_preview_options?... npmjs.com - Signature changed
InputMessageContent
Was type InputMessageContent = InputTextMessageContent | InputLocationMessageContent | InputVenueMessageContent | InputContactMessageContent | InputInvoiceMessageContent; now type InputMessageContent = InputTextMessageContent |... npmjs.com - Signature changed
InputPollOptionMedia
Was type InputPollOptionMedia<F> = InputMediaAnimation<F> | InputMediaLivePhoto<F> | InputMediaLocation | InputMediaPhoto<F> | InputMediaSticker<F> | InputMediaVenue | InputMediaVideo<F>; now type InputPollOptionMedia<F> =... npmjs.com - Signature changed
Opts.editMessageText
Was editMessageText(args: {business_connection_id?: string; chat_id?: number | string; message_id?: number; inline_message_id?: string; text: string; parse_mode?: ParseMode; entities?: MessageEntity[]; link_preview_options?... npmjs.com - Signature changed
Opts.editMessageText.text
Was text: string; now text?: string. npmjs.com
@grammyjs/types 3.27.3 breaking changes
- Signature changed
ApiMethods
Was type ApiMethods<F> = {getUpdates(args?: {offset?: number; limit?: number; timeout?: number; allowed_updates?: ReadonlyArray<Exclude<keyof Update, "update_id">>;}): Update[]; setWebhook(args: {url: string; certificate?: F; ip_address?... npmjs.com - Signature changed
ApiMethods.sendMediaGroup
Was sendMediaGroup(args: {business_connection_id?: string; chat_id: number | string; message_thread_id?: number; direct_messages_topic_id?: number; media: ReadonlyArray<InputMediaAudio<F> | InputMediaDocument<F> | InputMediaLivePhoto<F> |... npmjs.com - Signature changed
Opts.sendMediaGroup
Was sendMediaGroup(args: {business_connection_id?: string; chat_id: number | string; message_thread_id?: number; direct_messages_topic_id?: number; media: ReadonlyArray<InputMediaAudio<F> | InputMediaDocument<F> | InputMediaLivePhoto<F> |... npmjs.com
Older versions
4 older versions, each with its first changes. Sign up to see every change
Show 4 older versions
@grammyjs/types 3.27.2 breaking changes
- Signature changed
Update.guest_message
Was guest_message?: Message; now guest_message?: Message & Update.NonChannel. npmjs.com
@grammyjs/types 3.27.0 breaking changes
- Signature changed
ApiMethods
Was type ApiMethods<F> = {getUpdates(args?: {offset?: number; limit?: number; timeout?: number; allowed_updates?: ReadonlyArray<Exclude<keyof Update, "update_id">>;}): Update[]; setWebhook(args: {url: string; certificate?: F; ip_address?... npmjs.com - Signature changed
ApiMethods.editMessageChecklist
Was editMessageChecklist(args: {business_connection_id: string; chat_id: number; message_id: number; checklist: InputChecklist; reply_markup?: InlineKeyboardMarkup;}): Message.ChecklistMessage; now editMessageChecklist(args... npmjs.com
And 23 more in this version.
@grammyjs/types 3.26.0 breaking changes
- Removed
Opts.sendPoll.correct_option_id
Opts.sendPoll.correct_option_id was removed in @grammyjs/types 3.26.0 npmjs.com - Removed
Poll.correct_option_id
Poll.correct_option_id was removed in @grammyjs/types 3.26.0 npmjs.com
And 4 more in this version.
@grammyjs/types 3.25.0 breaking changes
- Signature changed
ApiMethods
Was type ApiMethods<F> = {getUpdates(args?: {offset?: number; limit?: number; timeout?: number; allowed_updates?: ReadonlyArray<Exclude<keyof Update, "update_id">>;}): Update[]; setWebhook(args: {url: string; certificate?: F; ip_address?... npmjs.com - Signature changed
ApiMethods.promoteChatMember
Was promoteChatMember(args: {chat_id: number | string; user_id: number; is_anonymous?: boolean; can_manage_chat?: boolean; can_delete_messages?: boolean; can_manage_video_chats?: boolean; can_restrict_members?: boolean... npmjs.com
And 2 more in this version.
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.