aiogram/docs/api/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
..
bot_command_scope_type.rst Add missing shortcuts, new enums, reworked old stuff (#1070) 2022-12-04 03:05:49 +02:00
button_style.rst Added full support of the Bot API 9.4 (#1761) 2026-02-10 23:43:52 +02:00
chat_action.rst Add missing shortcuts, new enums, reworked old stuff (#1070) 2022-12-04 03:05:49 +02:00
chat_boost_source_type.rst Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
chat_member_status.rst Add missing shortcuts, new enums, reworked old stuff (#1070) 2022-12-04 03:05:49 +02:00
chat_type.rst Adding new code-generator (Butcher) (#1069) 2022-11-21 01:06:55 +02:00
content_type.rst Adding new code-generator (Butcher) (#1069) 2022-11-21 01:06:55 +02:00
currency.rst Add currency enum (#1194) 2023-08-02 21:44:49 +03:00
dice_emoji.rst Adding new code-generator (Butcher) (#1069) 2022-11-21 01:06:55 +02:00
encrypted_passport_element.rst Fixed subtypes and union types generation, new enums added (#1213) 2023-07-11 23:39:54 +03:00
index.rst Added full support of the Bot API 9.4 (#1761) 2026-02-10 23:43:52 +02:00
inline_query_result_type.rst Add missing shortcuts, new enums, reworked old stuff (#1070) 2022-12-04 03:05:49 +02:00
input_media_type.rst Add missing shortcuts, new enums, reworked old stuff (#1070) 2022-12-04 03:05:49 +02:00
input_paid_media_type.rst Added full support of Bot API 7.6 (#1533) 2024-07-06 20:31:49 +03:00
input_profile_photo_type.rst Added full support for the Bot API 9.0 (#1671) 2025-04-12 23:29:48 +03:00
input_story_content_type.rst Added full support for the Bot API 9.0 (#1671) 2025-04-12 23:29:48 +03:00
keyboard_button_poll_type_type.rst Add KeyboardButtonPollTypeType enum (#1398) 2024-01-27 18:04:05 +02:00
mask_position_point.rst Add missing shortcuts, new enums, reworked old stuff (#1070) 2022-12-04 03:05:49 +02:00
menu_button_type.rst Add missing shortcuts, new enums, reworked old stuff (#1070) 2022-12-04 03:05:49 +02:00
message_entity_type.rst Add missing shortcuts, new enums, reworked old stuff (#1070) 2022-12-04 03:05:49 +02:00
message_origin_type.rst Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
owned_gift_type.rst Added full support for the Bot API 9.0 (#1671) 2025-04-12 23:29:48 +03:00
paid_media_type.rst Added full support of Bot API 7.6 (#1533) 2024-07-06 20:31:49 +03:00
parse_mode.rst Add missing shortcuts, new enums, reworked old stuff (#1070) 2022-12-04 03:05:49 +02:00
passport_element_error_type.rst Fixed subtypes and union types generation, new enums added (#1213) 2023-07-11 23:39:54 +03:00
poll_type.rst Add missing shortcuts, new enums, reworked old stuff (#1070) 2022-12-04 03:05:49 +02:00
reaction_type_type.rst Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
revenue_withdrawal_state_type.rst Added full support of Bot API 7.5 (#1518) 2024-06-19 00:54:22 +03:00
sticker_format.rst Bot API 6.6 (#1139) 2023-03-11 02:17:47 +02:00
sticker_type.rst Add missing shortcuts, new enums, reworked old stuff (#1070) 2022-12-04 03:05:49 +02:00
story_area_type_type.rst Added full support for the Bot API 9.0 (#1671) 2025-04-12 23:29:48 +03:00
topic_icon_color.rst Adding new code-generator (Butcher) (#1069) 2022-11-21 01:06:55 +02:00
transaction_partner_type.rst Added full support of Bot API 7.5 (#1518) 2024-06-19 00:54:22 +03:00
transaction_partner_user_transaction_type_enum.rst Added full support for the Bot API 9.0 (#1671) 2025-04-12 23:29:48 +03:00
update_type.rst Adding new code-generator (Butcher) (#1069) 2022-11-21 01:06:55 +02:00