mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
* Added full support of Bot API 8.0 * Added tests * Reformat code * Added changelog * Bump API version
25 lines
1.7 KiB
ReStructuredText
25 lines
1.7 KiB
ReStructuredText
Added full support for `Bot API 8.0 <https://core.telegram.org/bots/api-changelog#november-17-2024>`_
|
|
|
|
- Added the parameter :code:`subscription_period` to the method
|
|
:class:`aiogram.methods.create_invoice_link.CreateInvoiceLink`
|
|
to support the creation of links that are billed periodically.
|
|
- Added the parameter :code:`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.
|
|
- Added the fields :code:`subscription_expiration_date`,
|
|
:code:`is_recurring` and :code:`is_first_recurring` to the class
|
|
:class:`aiogram.types.successful_payment.SuccessfulPayment`.
|
|
- Added the method :class:`aiogram.methods.edit_user_star_subscription.EditUserStarSubscription`.
|
|
- Added the field :code:`subscription_period` to the class
|
|
:class:`aiogram.types.transaction_partner_user.TransactionPartnerUser`.
|
|
- Added the method :class:`aiogram.methods.set_user_emoji_status.SetUserEmojiStatus`.
|
|
The user must allow the bot to manage their emoji status.
|
|
- Added the class :class:`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`.
|
|
- Added the classes :class:`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.
|
|
- Added the field :code:`gift` to the class
|
|
:class:`aiogram.types.transaction_partner_user.TransactionPartnerUser`.
|