aiogram/.butcher/enums
Alex Root Junior 49d0784e33
Added full support of the Bot API 9.4 (#1761)
* Bump API schema to version 9.4, add new object types, methods, and properties.

* Add tests for `ChatOwnerChanged` and `ChatOwnerLeft` message types

* Add tests for `GetUserProfileAudios`, `RemoveMyProfilePhoto`, and `SetMyProfilePhoto` methods

* Bump version

* Update Makefile variables and refactor `test_get_user_profile_audios.py`

* Document new features and updates from Bot API 9.4 in changelog

* Add `ButtonStyle` enum to represent button styles in the Telegram API

* Fix review issues from PR #1761

- Remove stray '-' artifact from GameHighScore docstring and butcher schema
- Fix Makefile reformat target scope inconsistency (ruff check --fix)
- Fix ButtonStyle enum source URL (#chat -> #inlinekeyboardbutton)
- Add User.get_profile_audios() shortcut method (parallel to get_profile_photos)
- Test ChatOwnerLeft with new_owner=None (edge case)
- Add VideoQuality type and Video.qualities nesting tests
- Add User.get_profile_audios() test

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Revert "Fix review issues from PR #1761"

This reverts commit 2184e98988.

* Update source links for `ButtonStyle` documentation to reflect accurate API references

* Fix review issues from PR #1761 (#1762)

* Fix review issues from PR #1761

- Remove stray '-' artifact from GameHighScore docstring
- Fix Makefile reformat target scope inconsistency (ruff check --fix)
- Add User.get_profile_audios() shortcut method (parallel to get_profile_photos)
- Test ChatOwnerLeft with new_owner=None (edge case)
- Add VideoQuality type and Video.qualities nesting tests
- Add User.get_profile_audios() test

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Address review comments: use fixture and variables in tests, add changelog

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Address review follow-ups for PR #1762

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

* Reformat code

* Shut up, ruff

---------

Co-authored-by: latand <latand666@gmail.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Kostiantyn Kriuchkov <36363097+Latand@users.noreply.github.com>
2026-02-10 23:43:52 +02:00
..
BotCommandScopeType.yml Add missing shortcuts, new enums, reworked old stuff (#1070) 2022-12-04 03:05:49 +02:00
ButtonStyle.yml Added full support of the Bot API 9.4 (#1761) 2026-02-10 23:43:52 +02:00
ChatActions.yml Add missing shortcuts, new enums, reworked old stuff (#1070) 2022-12-04 03:05:49 +02:00
ChatBoostSourceType.yml Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
ChatMemberStatus.yml Add missing shortcuts, new enums, reworked old stuff (#1070) 2022-12-04 03:05:49 +02:00
ChatType.yml Add missing shortcuts, new enums, reworked old stuff (#1070) 2022-12-04 03:05:49 +02:00
ContentType.yml Added full support for the Bot API 9.2 (#1720) 2025-08-17 19:07:58 +03:00
Currency.yml Add currency enum (#1194) 2023-08-02 21:44:49 +03:00
DiceEmoji.yml Add missing shortcuts, new enums, reworked old stuff (#1070) 2022-12-04 03:05:49 +02:00
EncryptedPassportElement.yml Fixed subtypes and union types generation, new enums added (#1213) 2023-07-11 23:39:54 +03:00
InlineQueryResultType.yml Change InlineQueryResultType.MPEG to more correct (#1146) 2023-04-08 17:41:00 +03:00
InputMediaType.yml Add missing shortcuts, new enums, reworked old stuff (#1070) 2022-12-04 03:05:49 +02:00
InputPaidMediaType.yml Added full support of Bot API 7.6 (#1533) 2024-07-06 20:31:49 +03:00
InputProfileType.yml Add support for Telegram Bot API 9.1 (#1704) 2025-07-05 03:02:44 +03:00
InputStoryContentPhotoType.yml Add support for Telegram Bot API 9.1 (#1704) 2025-07-05 03:02:44 +03:00
KeyboardButtonPollTypeType.yml Add KeyboardButtonPollTypeType enum (#1398) 2024-01-27 18:04:05 +02:00
MaskPositionPoint.yml Add missing shortcuts, new enums, reworked old stuff (#1070) 2022-12-04 03:05:49 +02:00
MenuButtonType.yml Add missing shortcuts, new enums, reworked old stuff (#1070) 2022-12-04 03:05:49 +02:00
MessageEntityType.yml Add missing shortcuts, new enums, reworked old stuff (#1070) 2022-12-04 03:05:49 +02:00
MessageOriginType.yml Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
OwnedGiftType.yml Added full support for the Bot API 9.0 (#1671) 2025-04-12 23:29:48 +03:00
PaidMediaType.yml Added full support of Bot API 7.6 (#1533) 2024-07-06 20:31:49 +03:00
ParseMode.yml Add missing shortcuts, new enums, reworked old stuff (#1070) 2022-12-04 03:05:49 +02:00
PassportElementErrorType.yml Fixed subtypes and union types generation, new enums added (#1213) 2023-07-11 23:39:54 +03:00
PollType.yml Add missing shortcuts, new enums, reworked old stuff (#1070) 2022-12-04 03:05:49 +02:00
ReactionTypeType.yml Added full support of Bot API 7.11 (#1601) 2024-11-02 16:13:45 +02:00
RevenueWithdrawalStateType.yml Added full support of Bot API 7.5 (#1518) 2024-06-19 00:54:22 +03:00
StickerFormat.yml Bot API 6.6 (#1139) 2023-03-11 02:17:47 +02:00
StickerType.yml Add missing shortcuts, new enums, reworked old stuff (#1070) 2022-12-04 03:05:49 +02:00
StoryAreaTypeType.yml Added full support for the Bot API 9.0 (#1671) 2025-04-12 23:29:48 +03:00
TopicIconColor.yml Add missing shortcuts, new enums, reworked old stuff (#1070) 2022-12-04 03:05:49 +02:00
TransactionPartnerType.yml Added full support for the Bot API 8.3 (#1638) 2025-02-16 22:37:18 +02:00
TransactionPartnerUserTransactionType.yml Added full support for the Bot API 9.0 (#1671) 2025-04-12 23:29:48 +03:00
UpdateType.yml Add missing shortcuts, new enums, reworked old stuff (#1070) 2022-12-04 03:05:49 +02:00