From e48088f649d06c6778c1e07c2c8afdcb538533f7 Mon Sep 17 00:00:00 2001 From: JRoot Junior Date: Tue, 18 Jun 2024 22:02:20 +0300 Subject: [PATCH] Added changelog --- CHANGES/1518.feature.rst | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 CHANGES/1518.feature.rst diff --git a/CHANGES/1518.feature.rst b/CHANGES/1518.feature.rst new file mode 100644 index 00000000..9bb16597 --- /dev/null +++ b/CHANGES/1518.feature.rst @@ -0,0 +1,25 @@ +Added full support of `Bot API 7.5 `_ + +- Added the classes :class:`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. +- Added the method :class:`aiogram.methods.get_star_transactions.GetStarTransactions` + that can be used to get the list of all Telegram Star transactions for the bot. +- Added support for callback buttons in + :class:`aiogram.types.inline_keyboard_markup.InlineKeyboardMarkup` + for messages sent on behalf of a business account. +- Added support for callback queries originating from a message sent + on behalf of a business account. +- Added the parameter :code:`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. +- Added the parameter :code:`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.