fix(deps): update dependency aiogram to v3 #85
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==2.25.2
->==3.17.0
Release Notes
aiogram/aiogram (aiogram)
v3.17.0
Compare Source
====================
Features
Added full support of the
Bot API 8.2 <https://core.telegram.org/bots/api-changelog#january-1-2025>
_aiogram.methods.verify_user.VerifyUser
, :class:aiogram.methods.verify_chat.VerifyChat
, :class:aiogram.methods.remove_user_verification.RemoveUserVerification
and :class:aiogram.methods.remove_chat_verification.RemoveChatVerification
, allowing bots to manage verifications on behalf of an organization.upgrade_star_count
to the class :class:aiogram.types.gift.Gift
.pay_for_upgrade
to the method :class:aiogram.methods.send_gift.SendGift
.hide_url
from the class :class:aiogram.types.inline_query_result_article.InlineQueryResultArticle
. Pass an empty string as :code:url
instead.#​1623 <https://github.com/aiogram/aiogram/issues/1623>
_v3.16.0
Compare Source
====================
Features
Added full support of
Bot API 8.1 <https://core.telegram.org/bots/api-changelog#december-4-2024>
_:nanostar_amount
to the class :class:aiogram.types.star_transaction.StarTransaction
.aiogram.types.transaction_partner_affiliate_program.TransactionPartnerAffiliateProgram
for transactions pertaining to incoming affiliate commissions.aiogram.types.affiliate_info.AffiliateInfo
and the field :code:affiliate
to the class :class:aiogram.types.transaction_partner_user.TransactionPartnerUser
, allowing bots to identify the relevant affiliate in transactions with an affiliate commission.#​1617 <https://github.com/aiogram/aiogram/issues/1617>
_Bugfixes
aiogram.methods.base.TelegramMethod.__await__
method.#​1616 <https://github.com/aiogram/aiogram/issues/1616>
_Misc
pydantic
version support from “<2.10” to “<2.11”#​1607 <https://github.com/aiogram/aiogram/issues/1607>
_tg-emoji
in the :class:aiogram.utils.text_decoration.HtmlDecoration
: use the same constant as for tag opening#​1608 <https://github.com/aiogram/aiogram/issues/1608>
_aiohttp
version support from “<3.11” to “<3.12”#​1615 <https://github.com/aiogram/aiogram/issues/1615>
_v3.15.0
Compare Source
====================
Features
Added full support for
Bot API 8.0 <https://core.telegram.org/bots/api-changelog#november-17-2024>
_subscription_period
to the method:class:
aiogram.methods.create_invoice_link.CreateInvoiceLink
to support the creation of links that are billed periodically.
business_connection_id
to the method:class:
aiogram.methods.create_invoice_link.CreateInvoiceLink
to support the creation of invoice links on behalf of business accounts.
subscription_expiration_date
,:code:
is_recurring
and :code:is_first_recurring
to the class:class:
aiogram.types.successful_payment.SuccessfulPayment
.aiogram.methods.edit_user_star_subscription.EditUserStarSubscription
.subscription_period
to the class:class:
aiogram.types.transaction_partner_user.TransactionPartnerUser
.aiogram.methods.set_user_emoji_status.SetUserEmojiStatus
.The user must allow the bot to manage their emoji status.
aiogram.types.prepared_inline_message.PreparedInlineMessage
and the method :class:
aiogram.methods.save_prepared_inline_message.SavePreparedInlineMessage
,allowing bots to suggest users send a specific message from a Mini App via the method
:class:
aiogram.methods.share_message.ShareMessage
.aiogram.types.gift.Gift
and :class:aiogram.types.gifts.Gifts
and the method :class:
aiogram.methods.get_available_gifts.GetAvailableGifts
,allowing bots to get all gifts available for sending.
gift
to the class:class:
aiogram.types.transaction_partner_user.TransactionPartnerUser
.#​1606 <https://github.com/aiogram/aiogram/issues/1606>
_v3.14.0
Compare Source
====================
Misc
Checked compatibility with Python 3.13 (added to the CI/CD processes),
so now aiogram is totally compatible with it.
Dropped compatibility with Python 3.8 due to this version being
EOL <https://devguide.python.org/versions/>
_... warning::
In some cases you will need to have the installed compiler (Rust or C++)
to install some of the dependencies to compile packages from source on
pip install
command.Visual Studio <https://visualstudio.microsoft.com/visual-cpp-build-tools/>
_ installed.build-essential
package installed.Xcode <https://developer.apple.com/xcode/>
_ installed.When developers of this dependencies will release new versions with precompiled wheels for Windows, Linux and macOS,
this action will not be necessary anymore until the next version of the Python interpreter.
#​1589 <https://github.com/aiogram/aiogram/issues/1589>
_Added business_connection_id to the :class:
aiogram.types.message.Message
API methods shortcuts.Integrated the :code:
business_connection_id
attribute into various message manipulation methods,ensuring consistent data handling. This update eliminates the need to pass the
:code:
business_connection_id
as a parameter,instead directly accessing it from the instance attributes.
#​1586 <https://github.com/aiogram/aiogram/issues/1586>
_Features
Add function
get_value
to all built-in storage implementations,FSMContext
andSceneWizard
#​1431 <https://github.com/aiogram/aiogram/issues/1431>
_Enhanced the inheritance of handlers and actions in :ref:
Scenes <Scenes>
.Refactored to eliminate the copying of previously connected handlers and actions from parent scenes.
Now, handlers are dynamically rebuilt based on the current class, properly utilizing class inheritance and enabling handler overrides.
That's mean that you can now override handlers and actions in the child scene, instead of copying and duplicating them.
#​1583 <https://github.com/aiogram/aiogram/issues/1583>
_Added full support of
Bot API 7.11 <https://core.telegram.org/bots/api-changelog#october-31-2024>
_aiogram.types.copy_text_button.CopyTextButton
and the field :code:
copy_text
in the class:class:
aiogram.types.inline_keyboard_button.InlineKeyboardButton
,allowing bots to send and receive inline buttons that copy arbitrary text.
allow_paid_broadcast
to the methods:class:
aiogram.methods.send_message.SendMessage
,:class:
aiogram.methods.send_photo.SendPhoto
,:class:
aiogram.methods.send_video.SendVideo
,:class:
aiogram.methods.send_animation.SendAnimation
,:class:
aiogram.methods.send_audio.SendAudio
,:class:
aiogram.methods.send_document.SendDocument
,:class:
aiogram.methods.send_paid_media.SendPaidMedia
,:class:
aiogram.methods.send_sticker.SendSticker
,:class:
aiogram.methods.send_video_note.SendVideoNote
,:class:
aiogram.methods.send_voice.SendVoice
,:class:
aiogram.methods.send_location.SendLocation
,:class:
aiogram.methods.send_venue.SendVenue
,:class:
aiogram.methods.send_contact.SendContact
,:class:
aiogram.methods.send_poll.SendPoll
,:class:
aiogram.methods.send_dice.SendDice
,:class:
aiogram.methods.send_invoice.SendInvoice
,:class:
aiogram.methods.send_game.SendGame
,:class:
aiogram.methods.send_media_group.SendMediaGroup
and :class:
aiogram.methods.copy_message.CopyMessage
.:class:
aiogram.types.transaction_partner_telegram_api.TransactionPartnerTelegramApi
for transactions related to paid broadcasted messages.
:class:
aiogram.methods.edit_message_media.EditMessageMedia
.that opens a search for the relevant tag within the specified chat.
#​1601 <https://github.com/aiogram/aiogram/issues/1601>
_Bugfixes
Fix PytestDeprecationWarning thrown by pytest-asyncio when running the tests
#​1584 <https://github.com/aiogram/aiogram/issues/1584>
_Fixed customized serialization in the :class:
aiogram.filters.callback_data.CallbackData
factory.From now UUID will have 32 bytes length instead of 36 bytes (with no
-
separators) in the callback data representation.#​1602 <https://github.com/aiogram/aiogram/issues/1602>
_Improved Documentation
#​1599 <https://github.com/aiogram/aiogram/issues/1599>
_v3.13.1
Compare Source
====================
.. warning::
Misc
#​1576 <https://github.com/aiogram/aiogram/issues/1576>
_#​1577 <https://github.com/aiogram/aiogram/issues/1577>
_Bugfixes
Default
object annotation resolution usingpydantic
#​1579 <https://github.com/aiogram/aiogram/issues/1579>
_v3.13.0
Compare Source
====================
Features
:class:
aiogram.types.paid_media_purchased.PaidMediaPurchased
and the field :code:
purchased_paid_media
in the class:class:
aiogram.types.update.Update
.:class:
aiogram.methods.send_paid_media.SendPaidMedia
that is received back by the bot in:class:
aiogram.types.transaction_partner_user.TransactionPartnerUser
and :code:
purchased_paid_media
updates.prize_star_count
to the classes:class:
aiogram.types.giveaway_created.GiveawayCreated
,:class:
aiogram.types.giveaway.Giveaway
,:class:
aiogram.types.giveaway_winners.GiveawayWinners
and :class:
aiogram.types.chat_boost_source_giveaway.ChatBoostSourceGiveaway
.is_star_giveaway
to the class:class:
aiogram.types.giveaway_completed.GiveawayCompleted
.#​1510 <https://github.com/aiogram/aiogram/issues/1510>
_.answer()
,.reply()
, and others toInaccessibleMessage
.This change ensures consistency and improves usability by aligning the functionality of
InaccessibleMessage
with theMessage
type.#​1574 <https://github.com/aiogram/aiogram/issues/1574>
_Bugfixes
to use global defaults for
link_preview_options
.This change ensures consistency and enhances flexibility in handling link preview options
across different components.
#​1543 <https://github.com/aiogram/aiogram/issues/1543>
_v3.12.0
Compare Source
====================
Features
Added message_thread_id parameter to message.get_url().
#​1451 <https://github.com/aiogram/aiogram/issues/1451>
_Added getting user from
chat_boost
with sourceChatBoostSourcePremium
inUserContextMiddleware
forEventContext
#​1474 <https://github.com/aiogram/aiogram/issues/1474>
_Added full support of
Bot API 7.8 <https://core.telegram.org/bots/api-changelog#august-14-2024>
_business_connection_id
to the method:class:
aiogram.methods.send_paid_media.SendPaidMedia
,allowing bots to send paid media on behalf of a business account.
paid_media
to the class:class:
aiogram.types.transaction_partner_user.TransactionPartnerUser
for transactions involving paid media.
:class:
aiogram.methods.create_chat_subscription_invite_link.CreateChatSubscriptionInviteLink
,allowing bots to create subscription invite links.
:class:
aiogram.methods.edit_chat_subscription_invite_link.EditChatSubscriptionInviteLink
,allowing bots to edit the name of subscription invite links.
until_date
to the class:class:
aiogram.types.chat_member_member.ChatMemberMember
for members with an active subscription.:class:
aiogram.types.reaction_type_paid.ReactionTypePaid
.#​1560 <https://github.com/aiogram/aiogram/issues/1560>
_Misc
#​1507 <https://github.com/aiogram/aiogram/issues/1507>
_v3.11.0
Compare Source
====================
Features
Added full support of
Bot API 7.8 <https://core.telegram.org/bots/api-changelog#july-31-2024>
_has_main_web_app
to the class :class:aiogram.types.user.User
,which is returned in the response to :class:
aiogram.methods.get_me.GetMe
.business_connection_id
to the methods:class:
aiogram.methods.pin_chat_message.PinChatMessage
and :class:
aiogram.methods.unpin_chat_message.UnpinChatMessage
,allowing bots to manage pinned messages on behalf of a business account.
#​1551 <https://github.com/aiogram/aiogram/issues/1551>
_Bugfixes
#​1546 <https://github.com/aiogram/aiogram/issues/1546>
_Misc
aiogram.types.message.Message.as_reply_parameters
.Replaced usage of the argument :code:
reply_to_message_id
with :code:reply_parameters
in all Message reply methods.
#​1538 <https://github.com/aiogram/aiogram/issues/1538>
_aiohttp v3.10 <https://github.com/aio-libs/aiohttp/releases/tag/v3.10.0>
_support.
#1548 #1548`_v3.10.0
Compare Source
====================
Features
Added full support of
Bot API 7.7 <https://core.telegram.org/bots/api-changelog#july-7-2024>
_aiogram.types.refunded_payment.RefundedPayment
,containing information about a refunded payment.
refunded_payment
to the class:class:
aiogram.types.message.Message
,describing a service message about a refunded payment.
#​1536 <https://github.com/aiogram/aiogram/issues/1536>
_v3.9.0
Compare Source
===================
Features
Added ChatMember resolution tool and updated 2.x migration guide.
#​1525 <https://github.com/aiogram/aiogram/issues/1525>
_Added full support of
Bot API 7.6 <https://core.telegram.org/bots/api-changelog#july-1-2024>
_aiogram.types.paid_media.PaidMedia
,:class:
aiogram.types.paid_media_info.PaidMediaInfo
,:class:
aiogram.types.paid_media_preview.PaidMediaPreview
,:class:
aiogram.types.paid_media_photo.PaidMediaPhoto
and :class:
aiogram.types.paid_media_video.PaidMediaVideo
,containing information about paid media.
aiogram.methods.send_paid_media.SendPaidMedia
and the classes :class:
aiogram.types.input_paid_media.InputPaidMedia
,:class:
aiogram.types.input_paid_media_photo.InputPaidMediaPhoto
and :class:
aiogram.types.input_paid_media_video.InputPaidMediaVideo
,to support sending paid media.
aiogram.methods.copy_message.CopyMessage
and :class:
aiogram.methods.copy_messages.CopyMessages
cannot be used to copy paid media.can_send_paid_media
to the class:class:
aiogram.types.chat_full_info.ChatFullInfo
.paid_media
to the classes:class:
aiogram.types.message.Message
and:class:
aiogram.types.external_reply_info.ExternalReplyInfo
.:class:
aiogram.types.transaction_partner_telegram_ads.TransactionPartnerTelegramAds
,containing information about Telegram Star transactions involving the Telegram Ads Platform.
invoice_payload
to the class:class:
aiogram.types.transaction_partner_user.TransactionPartnerUser
,containing the bot-specified invoice payload.
:class:
aiogram.types.menu_button_web_app.MenuButtonWebApp
.section_separator_color
to the class :code:ThemeParams
.#​1533 <https://github.com/aiogram/aiogram/issues/1533>
_Bugfixes
#​1520 <https://github.com/aiogram/aiogram/issues/1520>
_v3.8.0
Compare Source
===================
Features
Added utility to safely deserialize any Telegram object or method to a JSON-compatible object (dict).
(:ref:
>> Read more <serialization-tool>
)#​1450 <https://github.com/aiogram/aiogram/issues/1450>
_Added full support of
Bot API 7.5 <https://core.telegram.org/bots/api-changelog#june-18-2024>
_aiogram.types.star_transactions.StarTransactions
,:class:
aiogram.types.star_transaction.StarTransaction
,:class:
aiogram.types.transaction_partner.TransactionPartner
and :class:
aiogram.types.revenue_withdrawal_state.RevenueWithdrawalState
,containing information about Telegram Star transactions involving the bot.
aiogram.methods.get_star_transactions.GetStarTransactions
that can be used to get the list of all Telegram Star transactions for the bot.
:class:
aiogram.types.inline_keyboard_markup.InlineKeyboardMarkup
for messages sent on behalf of a business account.
on behalf of a business account.
business_connection_id
to the methods:class:
aiogram.methods.edit_message_text.EditMessageText
,:class:
aiogram.methods.edit_message_media.EditMessageMedia
,:class:
aiogram.methods.edit_message_caption.EditMessageCaption
,:class:
aiogram.methods.edit_message_live_location.EditMessageLiveLocation
,:class:
aiogram.methods.stop_message_live_location.StopMessageLiveLocation
and :class:
aiogram.methods.edit_message_reply_markup.EditMessageReplyMarkup
,allowing the bot to edit business messages.
business_connection_id
to the method:class:
aiogram.methods.stop_poll.StopPoll
,allowing the bot to stop polls it sent on behalf of a business account.
#​1518 <https://github.com/aiogram/aiogram/issues/1518>
_Bugfixes
#​1500 <https://github.com/aiogram/aiogram/issues/1500>
_Improved Documentation
#​1501 <https://github.com/aiogram/aiogram/issues/1501>
_2.x --> 3.x
migration guide.#​1504 <https://github.com/aiogram/aiogram/issues/1504>
_Misc
[Only for contributors] Fail redis and mongo tests if incorrect URI provided + some storages tests refactoring
If incorrect URIs provided to "--redis" and/or "--mongo" options tests should fail with errors instead of skipping.
Otherwise the next scenario is possible:
Also some refactorings done (related with storages and storages tests).
#​1510 <https://github.com/aiogram/aiogram/issues/1510>
_v3.7.0
Compare Source
===================
Features
aiogram.fsm.storage.MongoStorage
for Finite State Machine based on Mongo DB (using :code:motor
library)#​1434 <https://github.com/aiogram/aiogram/issues/1434>
_Bot API 7.4 <https://core.telegram.org/bots/api-changelog#may-28-2024>
_#​1498 <https://github.com/aiogram/aiogram/issues/1498>
_Bugfixes
MarkdownV2
custom emoji parsing in :code:aiogram.utils.text_decorations
#​1496 <https://github.com/aiogram/aiogram/issues/1496>
_Deprecations and Removals
:code:
parse_mode
, :code:disable_web_page_preview
, :code:protect_content
as previously announced in v3.4.0.#​1494 <https://github.com/aiogram/aiogram/issues/1494>
_Misc
#​1482 <https://github.com/aiogram/aiogram/issues/1482>
_v3.6.0
Compare Source
===================
Features
Bot API 7.3 <https://core.telegram.org/bots/api-changelog#may-6-2024>
_#​1480 <https://github.com/aiogram/aiogram/issues/1480>
_Improved Documentation
#​1412 <https://github.com/aiogram/aiogram/issues/1412>
_v3.5.0
Compare Source
===================
Features
Added message_thread_id parameter to ChatActionSender class methods.
#​1437 <https://github.com/aiogram/aiogram/issues/1437>
_Added context manager interface to Bot instance, from now you can use:
.. code-block:: python
instead of
.. code-block:: python
#​1468 <https://github.com/aiogram/aiogram/issues/1468>
_Bugfixes
WebAppUser Class Fields: Added missing
is_premium
,added_to_attachment_menu
, andallows_write_to_pm
fields toWebAppUser
class to align with the Telegram API.WebAppChat Class Implementation: Introduced the
WebAppChat
class with all its fields (id
,type
,title
,username
, andphoto_url
) as specified in the Telegram API, which was previously missing from the library.WebAppInitData Class Fields: Included previously omitted fields in the
WebAppInitData
class:chat
,chat_type
,chat_instance
, to match the official documentation for a complete Telegram Web Apps support.#​1424 <https://github.com/aiogram/aiogram/issues/1424>
_voter_chat
for :code:poll_answer
event#​1436 <https://github.com/aiogram/aiogram/issues/1436>
__background_feed_update
(when in :code:handle_in_background=True
webhook mode)#​1458 <https://github.com/aiogram/aiogram/issues/1458>
_Improved Documentation
#​1433 <https://github.com/aiogram/aiogram/issues/1433>
_Misc
Bot API 7.2 <https://core.telegram.org/bots/api-changelog#march-31-2024>
_#​1444 <https://github.com/aiogram/aiogram/issues/1444>
_<2.7
to<2.8
#​1460 <https://github.com/aiogram/aiogram/issues/1460>
_v3.4.1
Compare Source
===================
Bugfixes
LinkPreviewOptions
class while it is passedas bot-wide default options.
#​1418 <https://github.com/aiogram/aiogram/issues/1418>
_v3.4.0
Compare Source
===================
Features
Reworked bot-wide globals like :code:
parse_mode
, :code:disable_web_page_preview
, and others to be more flexible... warning::
#​1392 <https://github.com/aiogram/aiogram/issues/1392>
_A new enum :code:
KeyboardButtonPollTypeType
for :code:KeyboardButtonPollTypeType.type
field has bed added.#​1398 <https://github.com/aiogram/aiogram/issues/1398>
_Added full support of
Bot API 7.1 <https://core.telegram.org/bots/api-changelog#february-16-2024>
_can_post_stories
, :code:can_edit_stories
, :code:can_delete_stories
in supergroups.ChatBoostAdded
and the field :code:boost_added
to the class :code:Message
for service messages about a user boosting a chat.sender_boost_count
to the class :code:Message
.reply_to_story
to the class :code:Message
.chat
and :code:id
to the class :code:Story
.unrestrict_boost_count
to the class :code:Chat
.custom_emoji_sticker_set_name
to the class :code:Chat
.#​1417 <https://github.com/aiogram/aiogram/issues/1417>
_Bugfixes
#​1399 <https://github.com/aiogram/aiogram/issues/1399>
_reply_parameters
param to :code:message.send_copy
because it hasn't been added there#​1403 <https://github.com/aiogram/aiogram/issues/1403>
_Improved Documentation
#​1395 <https://github.com/aiogram/aiogram/issues/1395>
_v3.3.0
Compare Source
===================
Features
Added full support of
Bot API 7.0 <https://core.telegram.org/bots/api-changelog#december-29-2023>
_#​1387 <https://github.com/aiogram/aiogram/issues/1387>
_v3.2.0
Compare Source
===================
Features
Read more about 👉 :ref:
Scenes <Scenes>
.#​1280 <https://github.com/aiogram/aiogram/issues/1280>
_CHAT_TOPIC
, which sets the state for the entire topic in the chat, also works in private messages and regular groups without topics.#​1343 <https://github.com/aiogram/aiogram/issues/1343>
_Bugfixes
parse_mode
argument in the in :code:Message.send_copy
shortcut. Disable by default.#​1332 <https://github.com/aiogram/aiogram/issues/1332>
_#​1360 <https://github.com/aiogram/aiogram/issues/1360>
_CallbackData
could not be parsed without a default value.#​1368 <https://github.com/aiogram/aiogram/issues/1368>
_Improved Documentation
#​1302 <https://github.com/aiogram/aiogram/issues/1302>
_#​1340 <https://github.com/aiogram/aiogram/issues/1340>
_CITATION.cff
file for automatic academic citation generation.Now you can copy citation from the GitHub page and paste it into your paper.
#​1351 <https://github.com/aiogram/aiogram/issues/1351>
_#​1353 <https://github.com/aiogram/aiogram/issues/1353>
_Misc
Fixed ResourceWarning in the tests, reworked :code:
RedisEventsIsolation
fixture to use Redis connection from :code:RedisStorage
#​1320 <https://github.com/aiogram/aiogram/issues/1320>
_Updated dependencies, bumped minimum required version:
magic-filter
- fixed.resolve
operationpydantic
- fixed compatibility (broken in 2.4)aiodns
- added new dependency to the :code:fast
extras (:code:pip install aiogram[fast]
)#​1327 <https://github.com/aiogram/aiogram/issues/1327>
_Prevent update handling task pointers from being garbage collected, backport from 2.x
#​1331 <https://github.com/aiogram/aiogram/issues/1331>
_Updated :code:
typing-extensions
package version range in dependencies to fix compatibility with :code:FastAPI
#​1347 <https://github.com/aiogram/aiogram/issues/1347>
_Introduce Python 3.12 support
#​1354 <https://github.com/aiogram/aiogram/issues/1354>
_Speeded up CallableMixin processing by caching references to nested objects and simplifying kwargs assembly.
#​1357 <https://github.com/aiogram/aiogram/issues/1357>
_Added :code:
pydantic
v2.5 support.#​1361 <https://github.com/aiogram/aiogram/issues/1361>
_Updated :code:
thumbnail
fields type to :code:InputFile
only#​1372 <https://github.com/aiogram/aiogram/issues/1372>
_v3.1.1
Compare Source
===================
Bugfixes
pydantic
version <2.4, since 2.4 has breaking changes.#​1322 <https://github.com/aiogram/aiogram/issues/1322>
_v3.1.0
Compare Source
===================
Features
#​1262 <https://github.com/aiogram/aiogram/issues/1262>
_aiogram.utils.input_media.MediaGroupBuilder
for media group construction.#​1293 <https://github.com/aiogram/aiogram/issues/1293>
_Bot API 6.9 <https://core.telegram.org/bots/api-changelog#september-22-2023>
_#​1319 <https://github.com/aiogram/aiogram/issues/1319>
_Bugfixes
InlineKeyboardBuilder
andReplyKeyboardBuilder
.#​1303 <https://github.com/aiogram/aiogram/issues/1303>
_#​1317 <https://github.com/aiogram/aiogram/issues/1317>
_v3.0.0
Compare Source
===================
Bugfixes
datetime.datetime
withDateTime
type wrapper across types to make dumped JSONs objectmore compatible with data that is sent by Telegram.
#​1277 <https://github.com/aiogram/aiogram/issues/1277>
_.as_(...)
operation for values that can be interpreted asFalse
(e.g.0
).#​1281 <https://github.com/aiogram/aiogram/issues/1281>
_#​1282 <https://github.com/aiogram/aiogram/issues/1282>
_Message.send_copy
for stickers.#​1284 <https://github.com/aiogram/aiogram/issues/1284>
_Message.send_copy
method, which was not working properly with stories, so not you can copy stories too (forwards messages).#​1286 <https://github.com/aiogram/aiogram/issues/1286>
_#​1290 <https://github.com/aiogram/aiogram/issues/1290>
_Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.