---
title: "@grammyjs/types 5.2.0 Breaking Changes on npm | Since.dev"
description: "What each @grammyjs/types release removed, renamed or changed: 349 breaking changes in 10 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/@grammyjs/types
last_updated: 2026-12-04
---

# @grammyjs/types breaking changes

@grammyjs/types 5.2.0 (November 22, 2026) is its newest release with breaking changes, 8 of them. The first: Removed InputRichBlockExpandableBlockQuotation.text. Every breaking API change we have recorded in @grammyjs/types on npm: 349 breaking changes in 10 versions. Below, its 10 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `5.2.0`, released November 22, 2026. [Source repository](https://github.com/grammyjs/types)

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [4.0.0](#v-4-0-0) to [5.2.0](#v-5-2-0): 208 breaking changes in 3 versions.
- From [3.25.0](#v-3-25-0) to [5.2.0](#v-5-2-0): 345 breaking changes in 9 versions.

## @grammyjs/types 5.2.0 breaking changes

@grammyjs/types 5.2.0, released November 22, 2026: 8 breaking changes.

- **Removed** `InputRichBlockExpandableBlockQuotation.text`  

InputRichBlockExpandableBlockQuotation.text was removed in @grammyjs/types 5.2.0 [npmjs.com](https://www.npmjs.com/package/@grammyjs/types/v/5.2.0)
- **Removed** `RichBlockExpandableBlockQuotation.text`  

RichBlockExpandableBlockQuotation.text was removed in @grammyjs/types 5.2.0 [npmjs.com](https://www.npmjs.com/package/@grammyjs/types/v/5.2.0)
- **Removed** `UserFromGetMe`  

UserFromGetMe was removed in @grammyjs/types 5.2.0 [npmjs.com](https://www.npmjs.com/package/@grammyjs/types/v/5.2.0)
- **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](https://www.npmjs.com/package/@grammyjs/types/v/5.2.0)
- **Signature changed** `ApiMethods.getMe`  

Was getMe(): UserFromGetMe; now getMe(): BotFullInfo. [npmjs.com](https://www.npmjs.com/package/@grammyjs/types/v/5.2.0)
- **Signature changed** `InputRichBlock`  

Was type InputRichBlock\<F> = InputRichBlockParagraph | InputRichBlockSectionHeading | InputRichBlockPreformatted | InputRichBlockFooter | InputRichBlockDivider | InputRichBlockMathematicalExpression | InputRichBlockAnchor |... [npmjs.com](https://www.npmjs.com/package/@grammyjs/types/v/5.2.0)
- **Signature changed** `InputRichBlockExpandableBlockQuotation`  

Was interface InputRichBlockExpandableBlockQuotation; now interface InputRichBlockExpandableBlockQuotation\<F>. [npmjs.com](https://www.npmjs.com/package/@grammyjs/types/v/5.2.0)
- **Signature changed** `Opts.getMe`  

Was getMe(): UserFromGetMe; now getMe(): BotFullInfo. [npmjs.com](https://www.npmjs.com/package/@grammyjs/types/v/5.2.0)

## @grammyjs/types 5.1.0 breaking changes

@grammyjs/types 5.1.0, released November 21, 2026: 71 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](https://www.npmjs.com/package/@grammyjs/types/v/5.1.0)
- **Removed** `Message.CommonMessage.show_caption_above_media`  

Message.CommonMessage.show_caption_above_media was removed in @grammyjs/types 5.1.0 [npmjs.com](https://www.npmjs.com/package/@grammyjs/types/v/5.1.0)
- **Removed** `Message.ContactMessage.show_caption_above_media`  

Message.ContactMessage.show_caption_above_media was removed in @grammyjs/types 5.1.0 [npmjs.com](https://www.npmjs.com/package/@grammyjs/types/v/5.1.0)
- **Removed** `Message.DiceMessage.show_caption_above_media`  

Message.DiceMessage.show_caption_above_media was removed in @grammyjs/types 5.1.0 [npmjs.com](https://www.npmjs.com/package/@grammyjs/types/v/5.1.0)
- **Removed** `Message.GameMessage.show_caption_above_media`  

Message.GameMessage.show_caption_above_media was removed in @grammyjs/types 5.1.0 [npmjs.com](https://www.npmjs.com/package/@grammyjs/types/v/5.1.0)
- **Removed** `Message.LocationMessage.show_caption_above_media`  

Message.LocationMessage.show_caption_above_media was removed in @grammyjs/types 5.1.0 [npmjs.com](https://www.npmjs.com/package/@grammyjs/types/v/5.1.0)
- **Removed** `Message.PollMessage.show_caption_above_media`  

Message.PollMessage.show_caption_above_media was removed in @grammyjs/types 5.1.0 [npmjs.com](https://www.npmjs.com/package/@grammyjs/types/v/5.1.0)
- **Removed** `Message.RichMessageMessage.show_caption_above_media`  

Message.RichMessageMessage.show_caption_above_media was removed in @grammyjs/types 5.1.0 [npmjs.com](https://www.npmjs.com/package/@grammyjs/types/v/5.1.0)
- **Removed** `Message.StickerMessage.show_caption_above_media`  

Message.StickerMessage.show_caption_above_media was removed in @grammyjs/types 5.1.0 [npmjs.com](https://www.npmjs.com/package/@grammyjs/types/v/5.1.0)
- **Removed** `Message.StoryMessage.show_caption_above_media`  

Message.StoryMessage.show_caption_above_media was removed in @grammyjs/types 5.1.0 [npmjs.com](https://www.npmjs.com/package/@grammyjs/types/v/5.1.0)

And 61 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## @grammyjs/types 5.0.0 breaking changes

@grammyjs/types 5.0.0, released August 25, 2026: 129 breaking changes.

- **Removed** `Opts.sendAnimation.callback_query_id`  

Opts.sendAnimation.callback_query_id was removed in @grammyjs/types 5.0.0 [npmjs.com](https://www.npmjs.com/package/@grammyjs/types/v/5.0.0)
- **Removed** `Opts.sendAnimation.receiver_user_id`  

Opts.sendAnimation.receiver_user_id was removed in @grammyjs/types 5.0.0 [npmjs.com](https://www.npmjs.com/package/@grammyjs/types/v/5.0.0)
- **Removed** `Opts.sendAudio.callback_query_id`  

Opts.sendAudio.callback_query_id was removed in @grammyjs/types 5.0.0 [npmjs.com](https://www.npmjs.com/package/@grammyjs/types/v/5.0.0)
- **Removed** `Opts.sendAudio.receiver_user_id`  

Opts.sendAudio.receiver_user_id was removed in @grammyjs/types 5.0.0 [npmjs.com](https://www.npmjs.com/package/@grammyjs/types/v/5.0.0)
- **Removed** `Opts.sendContact.callback_query_id`  

Opts.sendContact.callback_query_id was removed in @grammyjs/types 5.0.0 [npmjs.com](https://www.npmjs.com/package/@grammyjs/types/v/5.0.0)
- **Removed** `Opts.sendContact.receiver_user_id`  

Opts.sendContact.receiver_user_id was removed in @grammyjs/types 5.0.0 [npmjs.com](https://www.npmjs.com/package/@grammyjs/types/v/5.0.0)
- **Removed** `Opts.sendDocument.callback_query_id`  

Opts.sendDocument.callback_query_id was removed in @grammyjs/types 5.0.0 [npmjs.com](https://www.npmjs.com/package/@grammyjs/types/v/5.0.0)
- **Removed** `Opts.sendDocument.receiver_user_id`  

Opts.sendDocument.receiver_user_id was removed in @grammyjs/types 5.0.0 [npmjs.com](https://www.npmjs.com/package/@grammyjs/types/v/5.0.0)
- **Removed** `Opts.sendLivePhoto.callback_query_id`  

Opts.sendLivePhoto.callback_query_id was removed in @grammyjs/types 5.0.0 [npmjs.com](https://www.npmjs.com/package/@grammyjs/types/v/5.0.0)
- **Removed** `Opts.sendLivePhoto.receiver_user_id`  

Opts.sendLivePhoto.receiver_user_id was removed in @grammyjs/types 5.0.0 [npmjs.com](https://www.npmjs.com/package/@grammyjs/types/v/5.0.0)

And 119 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## @grammyjs/types 4.0.0 breaking changes

@grammyjs/types 4.0.0, released July 15, 2026: 96 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](https://www.npmjs.com/package/@grammyjs/types/v/4.0.0)
- **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](https://www.npmjs.com/package/@grammyjs/types/v/4.0.0)
- **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](https://www.npmjs.com/package/@grammyjs/types/v/4.0.0)
- **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](https://www.npmjs.com/package/@grammyjs/types/v/4.0.0)
- **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](https://www.npmjs.com/package/@grammyjs/types/v/4.0.0)
- **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](https://www.npmjs.com/package/@grammyjs/types/v/4.0.0)
- **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](https://www.npmjs.com/package/@grammyjs/types/v/4.0.0)
- **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](https://www.npmjs.com/package/@grammyjs/types/v/4.0.0)
- **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](https://www.npmjs.com/package/@grammyjs/types/v/4.0.0)
- **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](https://www.npmjs.com/package/@grammyjs/types/v/4.0.0)

And 86 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## @grammyjs/types 3.28.0 breaking changes

@grammyjs/types 3.28.0, released June 14, 2026: 6 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](https://www.npmjs.com/package/@grammyjs/types/v/3.28.0)
- **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](https://www.npmjs.com/package/@grammyjs/types/v/3.28.0)
- **Signature changed** `InputMessageContent`  

Was type InputMessageContent = InputTextMessageContent | InputLocationMessageContent | InputVenueMessageContent | InputContactMessageContent | InputInvoiceMessageContent; now type InputMessageContent = InputTextMessageContent |... [npmjs.com](https://www.npmjs.com/package/@grammyjs/types/v/3.28.0)
- **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](https://www.npmjs.com/package/@grammyjs/types/v/3.28.0)
- **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](https://www.npmjs.com/package/@grammyjs/types/v/3.28.0)
- **Signature changed** `Opts.editMessageText.text`  

Was text: string; now text?: string. [npmjs.com](https://www.npmjs.com/package/@grammyjs/types/v/3.28.0)

## @grammyjs/types 3.27.3 breaking changes

@grammyjs/types 3.27.3, released May 15, 2026: 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](https://www.npmjs.com/package/@grammyjs/types/v/3.27.3)
- **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](https://www.npmjs.com/package/@grammyjs/types/v/3.27.3)
- **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](https://www.npmjs.com/package/@grammyjs/types/v/3.27.3)

## Older versions

4 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### @grammyjs/types 3.27.2 breaking changes

@grammyjs/types 3.27.2, released May 14, 2026: 1 breaking change.

- **Signature changed** `Update.guest_message`  

Was guest_message?: Message; now guest_message?: Message & Update.NonChannel. [npmjs.com](https://www.npmjs.com/package/@grammyjs/types/v/3.27.2)

### @grammyjs/types 3.27.0 breaking changes

@grammyjs/types 3.27.0, released May 14, 2026: 25 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](https://www.npmjs.com/package/@grammyjs/types/v/3.27.0)
- **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](https://www.npmjs.com/package/@grammyjs/types/v/3.27.0)

And 23 more in this version.

### @grammyjs/types 3.26.0 breaking changes

@grammyjs/types 3.26.0, released April 3, 2026: 6 breaking changes.

- **Removed** `Opts.sendPoll.correct_option_id`  

Opts.sendPoll.correct_option_id was removed in @grammyjs/types 3.26.0 [npmjs.com](https://www.npmjs.com/package/@grammyjs/types/v/3.26.0)
- **Removed** `Poll.correct_option_id`  

Poll.correct_option_id was removed in @grammyjs/types 3.26.0 [npmjs.com](https://www.npmjs.com/package/@grammyjs/types/v/3.26.0)

And 4 more in this version.

### @grammyjs/types 3.25.0 breaking changes

@grammyjs/types 3.25.0, released March 1, 2026: 4 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](https://www.npmjs.com/package/@grammyjs/types/v/3.25.0)
- **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](https://www.npmjs.com/package/@grammyjs/types/v/3.25.0)

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](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
