aiogram/aiogram/enums
Alex Root Junior 057478621b
Added full support of Bot API 7.2 (#1444)
* Added base support of Bot API 7.2

* Added base support of Bot API 7.2

* Fixing tests and content types for Telegram Bot API 7.2 update (#1453)

* Fixing tests and content types for Telegram Bot API 7.2

* Adding changelog for 1453 PR

* Fixes + coverage

* Replace `BusinessConnection.date` type

* Reformat code

* Refactor UserContextMiddleware to use EventContext class

This update significantly refactors UserContextMiddleware to leverage a new class, EventContext. Instead of resolving event context as a tuple, it now produces an instance of EventContext. Additional adjustments include supporting a business connection ID for event context identification and facilitating backwards compatibility. Tests and other files were also updated accordingly for these changes.

* Cover FSM key builder (business_connection_id

* Added changelog

---------

Co-authored-by: RoLOQ <roman.fedunn@gmail.com>
2024-04-22 13:48:49 +03:00
..
__init__.py Add KeyboardButtonPollTypeType enum (#1398) 2024-01-27 18:04:05 +02:00
bot_command_scope_type.py Add missing shortcuts, new enums, reworked old stuff (#1070) 2022-12-04 03:05:49 +02:00
chat_action.py Add missing shortcuts, new enums, reworked old stuff (#1070) 2022-12-04 03:05:49 +02:00
chat_boost_source_type.py Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
chat_member_status.py Add missing shortcuts, new enums, reworked old stuff (#1070) 2022-12-04 03:05:49 +02:00
chat_type.py Add missing shortcuts, new enums, reworked old stuff (#1070) 2022-12-04 03:05:49 +02:00
content_type.py Added full support of Bot API 7.2 (#1444) 2024-04-22 13:48:49 +03:00
currency.py Add currency enum (#1194) 2023-08-02 21:44:49 +03:00
dice_emoji.py Add missing shortcuts, new enums, reworked old stuff (#1070) 2022-12-04 03:05:49 +02:00
encrypted_passport_element.py Fixed subtypes and union types generation, new enums added (#1213) 2023-07-11 23:39:54 +03:00
inline_query_result_type.py Change InlineQueryResultType.MPEG to more correct (#1146) 2023-04-08 17:41:00 +03:00
input_media_type.py Add missing shortcuts, new enums, reworked old stuff (#1070) 2022-12-04 03:05:49 +02:00
keyboard_button_poll_type_type.py Add KeyboardButtonPollTypeType enum (#1398) 2024-01-27 18:04:05 +02:00
mask_position_point.py Add missing shortcuts, new enums, reworked old stuff (#1070) 2022-12-04 03:05:49 +02:00
menu_button_type.py Add missing shortcuts, new enums, reworked old stuff (#1070) 2022-12-04 03:05:49 +02:00
message_entity_type.py Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
message_origin_type.py Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
parse_mode.py Add missing shortcuts, new enums, reworked old stuff (#1070) 2022-12-04 03:05:49 +02:00
passport_element_error_type.py Fixed subtypes and union types generation, new enums added (#1213) 2023-07-11 23:39:54 +03:00
poll_type.py Add missing shortcuts, new enums, reworked old stuff (#1070) 2022-12-04 03:05:49 +02:00
reaction_type_type.py Added support for Bot API 7.0 (#1387) 2023-12-31 01:40:44 +02:00
sticker_format.py Bot API 6.6 (#1139) 2023-03-11 02:17:47 +02:00
sticker_type.py Add missing shortcuts, new enums, reworked old stuff (#1070) 2022-12-04 03:05:49 +02:00
topic_icon_color.py Adding new code-generator (Butcher) (#1069) 2022-11-21 01:06:55 +02:00
update_type.py Added full support of Bot API 7.2 (#1444) 2024-04-22 13:48:49 +03:00