mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Added full support of Bot API 8.1 (#1617)
* Added full support of Bot API 8.1 * Remove artifacts from types and methods (model_* methods)
This commit is contained in:
parent
6520b9fba2
commit
782796c217
25 changed files with 433 additions and 51 deletions
5
CHANGES/1617.feature.rst
Normal file
5
CHANGES/1617.feature.rst
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
Added full support of `Bot API 8.1<https://core.telegram.org/bots/api-changelog#december-4-2024>`_:
|
||||
|
||||
- Added the field :code:`nanostar_amount` to the class :class:`aiogram.types.star_transaction.StarTransaction`.
|
||||
- Added the class :class:`aiogram.types.transaction_partner_affiliate_program.TransactionPartnerAffiliateProgram` for transactions pertaining to incoming affiliate commissions.
|
||||
- Added the class :class:`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.
|
||||
Loading…
Add table
Add a link
Reference in a new issue