mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
* Bump to the latest schema * Added full support ob Bot API 7.10 * Add support for purchased paid media events Enhanced the router to include `purchased_paid_media` handling. Added corresponding test cases to verify the new functionality and updated middleware to return the appropriate `EventContext`. * Added changelog
15 lines
905 B
ReStructuredText
15 lines
905 B
ReStructuredText
- Added updates about purchased paid media, represented by the class
|
|
:class:`aiogram.types.paid_media_purchased.PaidMediaPurchased`
|
|
and the field :code:`purchased_paid_media` in the class
|
|
:class:`aiogram.types.update.Update`.
|
|
- Added the ability to specify a payload in
|
|
: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.
|
|
- Added the field :code:`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`.
|
|
- Added the field :code:`is_star_giveaway` to the class
|
|
:class:`aiogram.types.giveaway_completed.GiveawayCompleted`.
|