Skip to content

Added full support of the Bot API 9.4#1761

Merged
JrooTJunior merged 13 commits intodev-3.xfrom
feature/api-9.4
Feb 10, 2026
Merged

Added full support of the Bot API 9.4#1761
JrooTJunior merged 13 commits intodev-3.xfrom
feature/api-9.4

Conversation

@JrooTJunior
Copy link
Member

Description

Added full support of the Bot API 9.4

@JrooTJunior JrooTJunior added the api Issues or new features of Bot API label Feb 9, 2026
@github-actions github-actions bot added the 3.x Issue or PR for stable 3.x version label Feb 9, 2026
@github-actions
Copy link

github-actions bot commented Feb 9, 2026

✔️ Changelog found.

Thank you for adding a description of the changes

@codecov
Copy link

codecov bot commented Feb 9, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (1708980) to head (3fb8a35).
⚠️ Report is 2 commits behind head on dev-3.x.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           dev-3.x     #1761    +/-   ##
==========================================
  Coverage   100.00%   100.00%            
==========================================
  Files          598       606     +8     
  Lines        14212     14341   +129     
==========================================
+ Hits         14212     14341   +129     
Flag Coverage Δ
unittests 100.00% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
aiogram/client/bot.py 100.00% <100.00%> (ø)
aiogram/enums/__init__.py 100.00% <100.00%> (ø)
aiogram/enums/button_style.py 100.00% <100.00%> (ø)
aiogram/enums/content_type.py 100.00% <100.00%> (ø)
aiogram/methods/__init__.py 100.00% <100.00%> (ø)
aiogram/methods/create_forum_topic.py 100.00% <ø> (ø)
aiogram/methods/get_user_profile_audios.py 100.00% <100.00%> (ø)
aiogram/methods/remove_my_profile_photo.py 100.00% <100.00%> (ø)
aiogram/methods/set_my_profile_photo.py 100.00% <100.00%> (ø)
aiogram/types/__init__.py 100.00% <100.00%> (ø)
... and 13 more

... and 2 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

JrooTJunior and others added 4 commits February 9, 2026 20:21
- 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 <[email protected]>
Latand added a commit to Latand/aiogram that referenced this pull request Feb 9, 2026
- 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 <[email protected]>
Latand added a commit to Latand/aiogram that referenced this pull request Feb 9, 2026
- 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 <[email protected]>
@Latand
Copy link
Contributor

Latand commented Feb 9, 2026

Note: ButtonStyle enum source URL is incorrect

The ButtonStyle enum docstring and .butcher/enums/ButtonStyle.yml reference https://core.telegram.org/bots/api#chat (the Chat type), but it should point to https://core.telegram.org/bots/api#inlinekeyboardbutton (or #keyboardbutton) where button styles are actually documented.

Files:

  • aiogram/enums/button_style.py line 8
  • .butcher/enums/ButtonStyle.yml line 5

Copy link
Contributor

@Latand Latand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Found a few things — created #1762 with fixes:

  • GameHighScore docstring: stray - artifact from the parser
  • Makefile: reformat target had inconsistent scope — ruff check --fix was narrowed to $(package_dir) while ruff format still used $(code_dir)
  • User.get_profile_audios(): missing shortcut method (parallel to existing get_profile_photos())
  • Tests: added VideoQuality type tests, ChatOwnerLeft edge case with new_owner=None, and User.get_profile_audios() test

Also note: ButtonStyle enum source URL in .butcher/enums/ButtonStyle.yml points to #chat instead of #inlinekeyboardbutton — see #1761 (comment)

Latand added a commit to Latand/aiogram that referenced this pull request Feb 9, 2026
- 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 <[email protected]>
@Latand Latand mentioned this pull request Feb 9, 2026
4 tasks
JrooTJunior and others added 4 commits February 10, 2026 23:19
* 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 <[email protected]>

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

Co-Authored-By: Claude Opus 4.6 <[email protected]>

* Address review follow-ups for PR #1762

---------

Co-authored-by: Claude Opus 4.6 <[email protected]>
@JrooTJunior JrooTJunior merged commit 49d0784 into dev-3.x Feb 10, 2026
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3.x Issue or PR for stable 3.x version api Issues or new features of Bot API

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants