python-telegram-bot breaking changes
python-telegram-bot 22.8 (June 12, 2026) is its newest release with breaking changes, 47 of them. The first: Signature changed telegram.Bot.edit_message_checklist. Every breaking API change we have recorded in python-telegram-bot on PyPI: 225 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 22.8, released June 12, 2026. Source repository
Packages on PyPI run on Python. Python end of life dates.
python-telegram-bot 22.8 breaking changes
- Signature changed
telegram.Bot.edit_message_checklist
Was async def edit_message_checklist(self, business_connection_id: str, chat_id: int, message_id: int, checklist: InputChecklist, reply_markup: InlineKeyboardMarkup | None = None, *, read_timeout: ODVInput[float] = DEFAULT_NONE... pypi.org - Signature changed
telegram.Bot.get_chat_administrators
Was async def get_chat_administrators(self, chat_id: str | int, *, read_timeout: ODVInput[float] = DEFAULT_NONE, write_timeout: ODVInput[float] = DEFAULT_NONE, connect_timeout: ODVInput[float] = DEFAULT_NONE, pool_timeout: ODVInput[float]... pypi.org - Signature changed
telegram.Bot.send_checklist
Was async def send_checklist(self, business_connection_id: str, chat_id: int, checklist: InputChecklist, disable_notification: ODVInput[bool] = DEFAULT_NONE, protect_content: ODVInput[bool] = DEFAULT_NONE, message_effect_id: str | None =... pypi.org - Signature changed
telegram.Bot.send_game
Was async def send_game(self, chat_id: int, game_short_name: str, disable_notification: ODVInput[bool] = DEFAULT_NONE, reply_markup: InlineKeyboardMarkup | None = None, protect_content: ODVInput[bool] = DEFAULT_NONE, message_thread_id: int... pypi.org - Signature changed
telegram.Bot.send_media_group
Was async def send_media_group(self, chat_id: int | str, media: Sequence[InputMediaAudio | InputMediaDocument | InputMediaPhoto | InputMediaVideo], disable_notification: ODVInput[bool] = DEFAULT_NONE, protect_content: ODVInput[bool] =... pypi.org - Signature changed
telegram.Bot.send_message_draft
Was async def send_message_draft(self, chat_id: int, draft_id: int, text: str, message_thread_id: int | None = None, parse_mode: ODVInput[str] = DEFAULT_NONE, entities: Sequence[MessageEntity] | None = None, *, read_timeout... pypi.org - Signature changed
telegram.Bot.send_poll
Was async def send_poll(self, chat_id: int | str, question: str, options: Sequence[str | InputPollOption], is_anonymous: bool | None = None, type: str | None = None, allows_multiple_answers: bool | None = None, correct_option_id... pypi.org - Signature changed
telegram.Chat.get_administrators
Was async def get_administrators(self, *, read_timeout: ODVInput[float] = DEFAULT_NONE, write_timeout: ODVInput[float] = DEFAULT_NONE, connect_timeout: ODVInput[float] = DEFAULT_NONE, pool_timeout: ODVInput[float] = DEFAULT_NONE... pypi.org - Signature changed
telegram.Chat.send_media_group
Was async def send_media_group(self, media: Sequence[InputMediaAudio | InputMediaDocument | InputMediaPhoto | InputMediaVideo], disable_notification: ODVInput[bool] = DEFAULT_NONE, protect_content: ODVInput[bool] = DEFAULT_NONE... pypi.org - Signature changed
telegram.Chat.send_message_draft
Was async def send_message_draft(self, draft_id: int, text: str, message_thread_id: int | None = None, parse_mode: ODVInput[str] = DEFAULT_NONE, entities: Sequence[MessageEntity] | None = None, *, read_timeout: ODVInput[float] =... pypi.org - Signature changed
telegram.Chat.send_poll
Was async def send_poll(self, question: str, options: Sequence[str | InputPollOption], is_anonymous: bool | None = None, type: str | None = None, allows_multiple_answers: bool | None = None, correct_option_id: CorrectOptionID | None =... pypi.org - Signature changed
telegram.ChatFullInfo.get_administrators
Was async def get_administrators(self, *, read_timeout: ODVInput[float] = DEFAULT_NONE, write_timeout: ODVInput[float] = DEFAULT_NONE, connect_timeout: ODVInput[float] = DEFAULT_NONE, pool_timeout: ODVInput[float] = DEFAULT_NONE... pypi.org - Signature changed
telegram.ChatFullInfo.send_media_group
Was async def send_media_group(self, media: Sequence[InputMediaAudio | InputMediaDocument | InputMediaPhoto | InputMediaVideo], disable_notification: ODVInput[bool] = DEFAULT_NONE, protect_content: ODVInput[bool] = DEFAULT_NONE... pypi.org - Signature changed
telegram.ChatFullInfo.send_message_draft
Was async def send_message_draft(self, draft_id: int, text: str, message_thread_id: int | None = None, parse_mode: ODVInput[str] = DEFAULT_NONE, entities: Sequence[MessageEntity] | None = None, *, read_timeout: ODVInput[float] =... pypi.org - Signature changed
telegram.ChatFullInfo.send_poll
Was async def send_poll(self, question: str, options: Sequence[str | InputPollOption], is_anonymous: bool | None = None, type: str | None = None, allows_multiple_answers: bool | None = None, correct_option_id: CorrectOptionID | None =... pypi.org - Signature changed
telegram.ChatMemberRestricted.__init__
Was def __init__(self, user: User, is_member: bool, can_change_info: bool, can_invite_users: bool, can_pin_messages: bool, can_send_messages: bool, can_send_polls: bool, can_send_other_messages: bool, can_add_web_page_previews: bool... pypi.org - Signature changed
telegram.ChatPermissions.__init__
Was def __init__(self, can_send_messages: bool | None = None, can_send_polls: bool | None = None, can_send_other_messages: bool | None = None, can_add_web_page_previews: bool | None = None, can_change_info: bool | None = None... pypi.org - Signature changed
telegram.ext.ExtBot.edit_message_checklist
Was async def edit_message_checklist(self, business_connection_id: str, chat_id: int, message_id: int, checklist: InputChecklist, reply_markup: InlineKeyboardMarkup | None = None, *, read_timeout: ODVInput[float] = DEFAULT_NONE... pypi.org - Signature changed
telegram.ext.ExtBot.get_chat_administrators
Was async def get_chat_administrators(self, chat_id: str | int, *, read_timeout: ODVInput[float] = DEFAULT_NONE, write_timeout: ODVInput[float] = DEFAULT_NONE, connect_timeout: ODVInput[float] = DEFAULT_NONE, pool_timeout: ODVInput[float]... pypi.org - Signature changed
telegram.ext.ExtBot.send_checklist
Was async def send_checklist(self, business_connection_id: str, chat_id: int, checklist: InputChecklist, disable_notification: ODVInput[bool] = DEFAULT_NONE, protect_content: ODVInput[bool] = DEFAULT_NONE, message_effect_id: str | None =... pypi.org - Signature changed
telegram.ext.ExtBot.send_game
Was async def send_game(self, chat_id: int, game_short_name: str, disable_notification: ODVInput[bool] = DEFAULT_NONE, reply_markup: InlineKeyboardMarkup | None = None, protect_content: ODVInput[bool] = DEFAULT_NONE, message_thread_id: int... pypi.org - Signature changed
telegram.ext.ExtBot.send_media_group
Was async def send_media_group(self, chat_id: int | str, media: Sequence[InputMediaAudio | InputMediaDocument | InputMediaPhoto | InputMediaVideo], disable_notification: ODVInput[bool] = DEFAULT_NONE, protect_content: ODVInput[bool] =... pypi.org - Signature changed
telegram.ext.ExtBot.send_message_draft
Was async def send_message_draft(self, chat_id: int, draft_id: int, text: str, message_thread_id: int | None = None, parse_mode: ODVInput[str] = DEFAULT_NONE, entities: Sequence[MessageEntity] | None = None, *, read_timeout... pypi.org - Signature changed
telegram.ext.ExtBot.send_poll
Was async def send_poll(self, chat_id: int | str, question: str, options: Sequence[str | InputPollOption], is_anonymous: bool | None = None, type: str | None = None, allows_multiple_answers: bool | None = None, correct_option_id... pypi.org - Signature changed
telegram.ExternalReplyInfo.__init__
Was def __init__(self, origin: MessageOrigin, chat: Chat | None = None, message_id: int | None = None, link_preview_options: LinkPreviewOptions | None = None, animation: Animation | None = None, audio: Audio | None = None, document... pypi.org - Signature changed
telegram.InputMedia
Was class InputMedia(TelegramObject); now class InputMedia(_BaseInputMedia). pypi.org - Signature changed
telegram.InputMediaAnimation.__init__
Was def __init__(self, media: FileInput | Animation, caption: str | None = None, parse_mode: ODVInput[str] = DEFAULT_NONE, width: int | None = None, height: int | None = None, duration: TimePeriod | None = None, caption_entities... pypi.org - Signature changed
telegram.InputMediaAudio.__init__
Was def __init__(self, media: FileInput | Audio, caption: str | None = None, parse_mode: ODVInput[str] = DEFAULT_NONE, duration: TimePeriod | None = None, performer: str | None = None, title: str | None = None, caption_entities... pypi.org - Signature changed
telegram.InputMediaDocument.__init__
Was def __init__(self, media: FileInput | Document, caption: str | None = None, parse_mode: ODVInput[str] = DEFAULT_NONE, disable_content_type_detection: bool | None = None, caption_entities: Sequence[MessageEntity] | None = None... pypi.org - Signature changed
telegram.InputMediaPhoto.__init__
Was def __init__(self, media: FileInput | PhotoSize, caption: str | None = None, parse_mode: ODVInput[str] = DEFAULT_NONE, caption_entities: Sequence[MessageEntity] | None = None, filename: str | None = None, has_spoiler: bool | None =... pypi.org - Signature changed
telegram.InputMediaVideo.__init__
Was def __init__(self, media: FileInput | Video, caption: str | None = None, width: int | None = None, height: int | None = None, duration: TimePeriod | None = None, supports_streaming: bool | None = None, parse_mode: ODVInput[str] =... pypi.org - Signature changed
telegram.InputPollOption.__init__
Was def __init__(self, text: str, text_parse_mode: ODVInput[str] = DEFAULT_NONE, text_entities: Sequence[MessageEntity] | None = None, *, api_kwargs: JSONDict | None = None); now def __init__(self, text: str, text_parse_mode: ODVInput[str]... pypi.org - Signature changed
telegram.KeyboardButton.__init__
Was def __init__(self, text: str, request_contact: bool | None = None, request_location: bool | None = None, request_poll: KeyboardButtonPollType | None = None, web_app: WebAppInfo | None = None, request_chat: KeyboardButtonRequestChat |... pypi.org - Signature changed
telegram.Message.__init__
Was def __init__(self, message_id: int, date: dtm.datetime, chat: Chat, from_user: User | None = None, reply_to_message: Message | None = None, edit_date: dtm.datetime | None = None, text: str | None = None, entities... pypi.org - Signature changed
telegram.Message.effective_attachment
Was effective_attachment: Animation | Audio | Contact | Dice | Document | Game | Invoice | Location | PassportData | Sequence[PhotoSize] | PaidMediaInfo | Poll | Sticker | Story | SuccessfulPayment | Venue | Video | VideoNote | Voice |... pypi.org - Signature changed
telegram.Message.reply_media_group
Was async def reply_media_group(self, media: Sequence[InputMediaAudio | InputMediaDocument | InputMediaPhoto | InputMediaVideo], disable_notification: ODVInput[bool] = DEFAULT_NONE, protect_content: ODVInput[bool] = DEFAULT_NONE... pypi.org - Signature changed
telegram.Message.reply_poll
Was async def reply_poll(self, question: str, options: Sequence[str | InputPollOption], is_anonymous: bool | None = None, type: str | None = None, allows_multiple_answers: bool | None = None, correct_option_id: CorrectOptionID | None =... pypi.org - Signature changed
telegram.Message.reply_text_draft
Was async def reply_text_draft(self, draft_id: int, text: str, parse_mode: ODVInput[str] = DEFAULT_NONE, entities: Sequence[MessageEntity] | None = None, message_thread_id: ODVInput[int] = DEFAULT_NONE, *, read_timeout: ODVInput[float] =... pypi.org - Signature changed
telegram.Poll.__init__
Was def __init__(self, id: str, question: str, options: Sequence[PollOption], total_voter_count: int, is_closed: bool, is_anonymous: bool, type: str, allows_multiple_answers: bool, correct_option_id: int | None = None, explanation: str |... pypi.org - Signature changed
telegram.PollAnswer.__init__
Was def __init__(self, poll_id: str, option_ids: Sequence[int], user: User | None = None, voter_chat: Chat | None = None, *, api_kwargs: JSONDict | None = None); now def __init__(self, poll_id: str, option_ids: Sequence[int], user: User |... pypi.org - Signature changed
telegram.PollOption.__init__
Was def __init__(self, text: str, voter_count: int, text_entities: Sequence[MessageEntity] | None = None, *, api_kwargs: JSONDict | None = None); now def __init__(self, text: str, voter_count: int, text_entities: Sequence[MessageEntity] |... pypi.org - Signature changed
telegram.ReplyParameters.__init__
Was def __init__(self, message_id: int, chat_id: int | str | None = None, allow_sending_without_reply: ODVInput[bool] = DEFAULT_NONE, quote: str | None = None, quote_parse_mode: ODVInput[str] = DEFAULT_NONE, quote_entities... pypi.org - Signature changed
telegram.Update.__init__
Was def __init__(self, update_id: int, message: Message | None = None, edited_message: Message | None = None, channel_post: Message | None = None, edited_channel_post: Message | None = None, inline_query: InlineQuery | None = None... pypi.org - Signature changed
telegram.User.__init__
Was def __init__(self, id: int, first_name: str, is_bot: bool, last_name: str | None = None, username: str | None = None, language_code: str | None = None, can_join_groups: bool | None = None, can_read_all_group_messages: bool | None =... pypi.org - Signature changed
telegram.User.send_media_group
Was async def send_media_group(self, media: Sequence[InputMediaAudio | InputMediaDocument | InputMediaPhoto | InputMediaVideo], disable_notification: ODVInput[bool] = DEFAULT_NONE, protect_content: ODVInput[bool] = DEFAULT_NONE... pypi.org - Signature changed
telegram.User.send_message_draft
Was async def send_message_draft(self, draft_id: int, text: str, message_thread_id: int | None = None, parse_mode: ODVInput[str] = DEFAULT_NONE, entities: Sequence[MessageEntity] | None = None, *, read_timeout: ODVInput[float] =... pypi.org - Signature changed
telegram.User.send_poll
Was async def send_poll(self, question: str, options: Sequence[str | InputPollOption], is_anonymous: bool | None = None, type: str | None = None, allows_multiple_answers: bool | None = None, correct_option_id: CorrectOptionID | None =... pypi.org
python-telegram-bot 22.0 breaking changes
- Removed
telegram.constants.InlineQueryLimit.MAX_SWITCH_PM_TEXT_LENGTH
Use InlineQueryResultsButtonLimit.MAX_START_PARAMETER_LENGTH instead. pypi.org - Removed
telegram.constants.InlineQueryLimit.MIN_SWITCH_PM_TEXT_LENGTH
Use InlineQueryResultsButtonLimit.MIN_START_PARAMETER_LENGTH instead. pypi.org - Removed
telegram.ext.ApplicationBuilder.get_updates_proxy_url
ApplicationBuilder.get_updates_proxy_url was removed in python-telegram-bot 22.0 pypi.org - Removed
telegram.ext.ApplicationBuilder.proxy_url
ApplicationBuilder.proxy_url was removed in python-telegram-bot 22.0 pypi.org - Removed
telegram.ext.Defaults.disable_web_page_preview
Use link_preview_options instead. pypi.org - Removed
telegram.ext.Defaults.quote
Use do_quote instead. pypi.org - Removed
telegram.ext.filters.CHAT
telegram.ext.filters.CHAT was removed in python-telegram-bot 22.0 pypi.org - Removed
telegram.ext.filters.StatusUpdate.USER_SHARED
Use USERS_SHARED instead. pypi.org - Removed
telegram.InlineQuery.MAX_SWITCH_PM_TEXT_LENGTH
telegram.InlineQuery.MAX_SWITCH_PM_TEXT_LENGTH was removed in python-telegram-bot 22.0 pypi.org - Removed
telegram.InlineQuery.MIN_SWITCH_PM_TEXT_LENGTH
telegram.InlineQuery.MIN_SWITCH_PM_TEXT_LENGTH was removed in python-telegram-bot 22.0 pypi.org
And 33 more in this version. Sign up to see every change
python-telegram-bot 21.0 breaking changes
- Removed
The release removes features that were deprecated in Bot API 7.0; the notes do not list the specific symbols, so check your code for deprecated usages from that API version. github.com - Removed
telegram.InputTextMessageContent.disable_web_page_preview
InputTextMessageContent.disable_web_page_preview was removed in python-telegram-bot 21.0 pypi.org - Removed
telegram.KeyboardButton.request_user
Use request_users instead. pypi.org - Removed
telegram.KeyboardButtonRequestUser
Use KeyboardButtonRequestUsers instead. pypi.org - Removed
telegram.MaybeInaccessibleMessage.__bool__
MaybeInaccessibleMessage.__bool__ was removed in python-telegram-bot 21.0 pypi.org - Removed
telegram.Message.__bool__
Message.__bool__ was removed in python-telegram-bot 21.0 pypi.org - Removed
telegram.Message.forward_date
Use forward_origin instead. pypi.org - Removed
telegram.Message.forward_from
Use forward_origin instead. pypi.org - Removed
telegram.Message.forward_from_chat
Use forward_origin instead. pypi.org - Removed
telegram.Message.forward_from_message_id
Use forward_origin instead. pypi.org
And 125 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.