aiogram/aiogram/types
Aleksandr 8d2bf20fb8
Added missing FORUM_TOPIC_EDITED value to content_type property (#1160)
* Added missing FORUM_TOPIC_EDITED value to content_type property

* Added changelog to CHANGES

* Fixed aiogram/filters/magic_data.py:21:41: C416 Unnecessary `dict` comprehension (rewrite using `dict()`)

* Resolve  #1155: Different signature of startup/shutdown events on polling and webhooks  (#1156)

* Code refactor
- Use 'or' istead of 'A if A else B'
- Raise new error from catched error: raise Error from e

* Fixed signature of startup/shutdown events
- Include the **dispatcher.workflow_data as the handler arguments

* Update deep_linking basic examples (#1151)

* skip if current router does not have observer for custom event (#1147)

* skip if current router does not have observer for custom event

* Test custom event in router

* Feature changelog file

* fix style

* Change `InlineQueryResultType.MPEG` to more correct (#1146)

* Change `InlineQueryResultType.MPEG` to `InlineQueryResultType.MPEG4GIF`

* Change regexp for parse entities

* Use code generator to fix types

* Add changelog

* fix(docs): fix wrong page link in docs (#1154)

* storage cleanup (#1144)

* storage cleanup

* storage cleanup

* Update API docs

* Added tests

* Fix tests

---------

Co-authored-by: Alex Root Junior <jroot.junior@gmail.com>
Co-authored-by: Łukasz Tshipenchko <dev@zxc.sx>
Co-authored-by: Max Kotsiuruba <81016938+A5KET@users.noreply.github.com>
Co-authored-by: Andrey Tikhonov <andrey.tikhonov@quantori.com>
Co-authored-by: Desiders <47452083+Desiders@users.noreply.github.com>
Co-authored-by: Daniil <hum4noid@yandex.ru>
Co-authored-by: RootShinobi <111008396+RootShinobi@users.noreply.github.com>
2023-04-16 22:41:49 +03:00
..
__init__.py Reworked request builder (#1142) 2023-03-11 20:46:36 +02:00
animation.py Bot API 6.6 (#1139) 2023-03-11 02:17:47 +02:00
audio.py Bot API 6.6 (#1139) 2023-03-11 02:17:47 +02:00
base.py Reworked request builder (#1142) 2023-03-11 20:46:36 +02:00
bot_command.py Bot API 5.7 and some new features (#834) 2022-02-19 01:45:59 +02:00
bot_command_scope.py [3.x] Bot API 5.3 + Improvements (#618) 2021-07-29 00:40:50 +03:00
bot_command_scope_all_chat_administrators.py Add missing shortcuts, new enums, reworked old stuff (#1070) 2022-12-04 03:05:49 +02:00
bot_command_scope_all_group_chats.py Add missing shortcuts, new enums, reworked old stuff (#1070) 2022-12-04 03:05:49 +02:00
bot_command_scope_all_private_chats.py Add missing shortcuts, new enums, reworked old stuff (#1070) 2022-12-04 03:05:49 +02:00
bot_command_scope_chat.py Add missing shortcuts, new enums, reworked old stuff (#1070) 2022-12-04 03:05:49 +02:00
bot_command_scope_chat_administrators.py Add missing shortcuts, new enums, reworked old stuff (#1070) 2022-12-04 03:05:49 +02:00
bot_command_scope_chat_member.py Add missing shortcuts, new enums, reworked old stuff (#1070) 2022-12-04 03:05:49 +02:00
bot_command_scope_default.py Add missing shortcuts, new enums, reworked old stuff (#1070) 2022-12-04 03:05:49 +02:00
bot_description.py Bot API 6.6 (#1139) 2023-03-11 02:17:47 +02:00
bot_short_description.py Bot API 6.6 (#1139) 2023-03-11 02:17:47 +02:00
callback_game.py Upgrade architecture + 5.0 Bot API (#469) 2021-01-26 21:20:52 +02:00
callback_query.py Add missing shortcuts, new enums, reworked old stuff (#1070) 2022-12-04 03:05:49 +02:00
chat.py Added full support of Bot API 6.5 (#1112) 2023-02-04 19:53:32 +02:00
chat_administrator_rights.py Added full support of Bot API 6.5 (#1112) 2023-02-04 19:53:32 +02:00
chat_invite_link.py Adding new code-generator (Butcher) (#1069) 2022-11-21 01:06:55 +02:00
chat_join_request.py Added full support of Bot API 6.5 (#1112) 2023-02-04 19:53:32 +02:00
chat_location.py Dev 3.x i18n & improvements (#696) 2021-09-22 00:52:38 +03:00
chat_member.py Added full support of Bot API 6.5 (#1112) 2023-02-04 19:53:32 +02:00
chat_member_administrator.py Added full support of Bot API 6.5 (#1112) 2023-02-04 19:53:32 +02:00
chat_member_banned.py Add missing shortcuts, new enums, reworked old stuff (#1070) 2022-12-04 03:05:49 +02:00
chat_member_left.py Add missing shortcuts, new enums, reworked old stuff (#1070) 2022-12-04 03:05:49 +02:00
chat_member_member.py Add missing shortcuts, new enums, reworked old stuff (#1070) 2022-12-04 03:05:49 +02:00
chat_member_owner.py Add missing shortcuts, new enums, reworked old stuff (#1070) 2022-12-04 03:05:49 +02:00
chat_member_restricted.py Added full support of Bot API 6.5 (#1112) 2023-02-04 19:53:32 +02:00
chat_member_updated.py Dev 3.x i18n & improvements (#696) 2021-09-22 00:52:38 +03:00
chat_permissions.py Added full support of Bot API 6.5 (#1112) 2023-02-04 19:53:32 +02:00
chat_photo.py Upgrade architecture + 5.0 Bot API (#469) 2021-01-26 21:20:52 +02:00
chat_shared.py Added full support of Bot API 6.5 (#1112) 2023-02-04 19:53:32 +02:00
chosen_inline_result.py 3.x Bot API 6.1 (#937) 2022-06-25 18:14:29 +03:00
contact.py [3.0] Bot API 5.1 + FSM + Utils (#525) 2021-05-11 23:04:32 +03:00
dice.py [3.0] Bot API 5.1 + FSM + Utils (#525) 2021-05-11 23:04:32 +03:00
document.py Bot API 6.6 (#1139) 2023-03-11 02:17:47 +02:00
downloadable.py Bump version 2021-06-19 02:42:56 +03:00
encrypted_credentials.py 3.x Bot API 6.1 (#937) 2022-06-25 18:14:29 +03:00
encrypted_passport_element.py 3.x Bot API 6.1 (#937) 2022-06-25 18:14:29 +03:00
error_event.py Add missing shortcuts, new enums, reworked old stuff (#1070) 2022-12-04 03:05:49 +02:00
file.py 3.x Bot API 6.1 (#937) 2022-06-25 18:14:29 +03:00
force_reply.py Bot API 6.3 (#1063) 2022-11-06 14:28:21 +02:00
forum_topic.py Bot API 6.3 (#1063) 2022-11-06 14:28:21 +02:00
forum_topic_closed.py Bot API 6.3 (#1063) 2022-11-06 14:28:21 +02:00
forum_topic_created.py Bot API 6.3 (#1063) 2022-11-06 14:28:21 +02:00
forum_topic_edited.py Added full support of Bot API 6.4 (#1088) 2022-12-30 22:44:25 +02:00
forum_topic_reopened.py Bot API 6.3 (#1063) 2022-11-06 14:28:21 +02:00
game.py Dev 3.x i18n & improvements (#696) 2021-09-22 00:52:38 +03:00
game_high_score.py Dev 3.x i18n & improvements (#696) 2021-09-22 00:52:38 +03:00
general_forum_topic_hidden.py Added full support of Bot API 6.4 (#1088) 2022-12-30 22:44:25 +02:00
general_forum_topic_unhidden.py Added full support of Bot API 6.4 (#1088) 2022-12-30 22:44:25 +02:00
inline_keyboard_button.py 3.x Bot API 6.1 (#937) 2022-06-25 18:14:29 +03:00
inline_keyboard_markup.py Bot API 6.3 (#1063) 2022-11-06 14:28:21 +02:00
inline_query.py Add missing shortcuts, new enums, reworked old stuff (#1070) 2022-12-04 03:05:49 +02:00
inline_query_result.py [3.0] Bot API 5.1 + FSM + Utils (#525) 2021-05-11 23:04:32 +03:00
inline_query_result_article.py Bot API 6.6 (#1139) 2023-03-11 02:17:47 +02:00
inline_query_result_audio.py Reworked request builder (#1142) 2023-03-11 20:46:36 +02:00
inline_query_result_cached_audio.py Reworked request builder (#1142) 2023-03-11 20:46:36 +02:00
inline_query_result_cached_document.py Reworked request builder (#1142) 2023-03-11 20:46:36 +02:00
inline_query_result_cached_gif.py Reworked request builder (#1142) 2023-03-11 20:46:36 +02:00
inline_query_result_cached_mpeg4_gif.py Change InlineQueryResultType.MPEG to more correct (#1146) 2023-04-08 17:41:00 +03:00
inline_query_result_cached_photo.py Reworked request builder (#1142) 2023-03-11 20:46:36 +02:00
inline_query_result_cached_sticker.py Add missing shortcuts, new enums, reworked old stuff (#1070) 2022-12-04 03:05:49 +02:00
inline_query_result_cached_video.py Reworked request builder (#1142) 2023-03-11 20:46:36 +02:00
inline_query_result_cached_voice.py Reworked request builder (#1142) 2023-03-11 20:46:36 +02:00
inline_query_result_contact.py Bot API 6.6 (#1139) 2023-03-11 02:17:47 +02:00
inline_query_result_document.py Reworked request builder (#1142) 2023-03-11 20:46:36 +02:00
inline_query_result_game.py Add missing shortcuts, new enums, reworked old stuff (#1070) 2022-12-04 03:05:49 +02:00
inline_query_result_gif.py Reworked request builder (#1142) 2023-03-11 20:46:36 +02:00
inline_query_result_location.py Bot API 6.6 (#1139) 2023-03-11 02:17:47 +02:00
inline_query_result_mpeg4_gif.py Change InlineQueryResultType.MPEG to more correct (#1146) 2023-04-08 17:41:00 +03:00
inline_query_result_photo.py Reworked request builder (#1142) 2023-03-11 20:46:36 +02:00
inline_query_result_venue.py Bot API 6.6 (#1139) 2023-03-11 02:17:47 +02:00
inline_query_result_video.py Reworked request builder (#1142) 2023-03-11 20:46:36 +02:00
inline_query_result_voice.py Reworked request builder (#1142) 2023-03-11 20:46:36 +02:00
input_contact_message_content.py Upgrade architecture + 5.0 Bot API (#469) 2021-01-26 21:20:52 +02:00
input_file.py [3.x] Check status code when downloading file (#1079) 2023-02-12 02:56:11 +02:00
input_invoice_message_content.py Added support of Bot API 6.2 (#975) 2022-08-14 16:32:29 +03:00
input_location_message_content.py Upgrade architecture + 5.0 Bot API (#469) 2021-01-26 21:20:52 +02:00
input_media.py Upgrade architecture + 5.0 Bot API (#469) 2021-01-26 21:20:52 +02:00
input_media_animation.py Reworked request builder (#1142) 2023-03-11 20:46:36 +02:00
input_media_audio.py Reworked request builder (#1142) 2023-03-11 20:46:36 +02:00
input_media_document.py Reworked request builder (#1142) 2023-03-11 20:46:36 +02:00
input_media_photo.py Reworked request builder (#1142) 2023-03-11 20:46:36 +02:00
input_media_video.py Reworked request builder (#1142) 2023-03-11 20:46:36 +02:00
input_message_content.py Adding new code-generator (Butcher) (#1069) 2022-11-21 01:06:55 +02:00
input_sticker.py Update API docs 2023-04-08 18:31:38 +03:00
input_text_message_content.py Reworked request builder (#1142) 2023-03-11 20:46:36 +02:00
input_venue_message_content.py Upgrade architecture + 5.0 Bot API (#469) 2021-01-26 21:20:52 +02:00
invoice.py Upgrade architecture + 5.0 Bot API (#469) 2021-01-26 21:20:52 +02:00
keyboard_button.py Added full support of Bot API 6.5 (#1112) 2023-02-04 19:53:32 +02:00
keyboard_button_poll_type.py Upgrade architecture + 5.0 Bot API (#469) 2021-01-26 21:20:52 +02:00
keyboard_button_request_chat.py Update API docs 2023-04-08 18:31:38 +03:00
keyboard_button_request_user.py Update API docs 2023-04-08 18:31:38 +03:00
labeled_price.py Upgrade architecture + 5.0 Bot API (#469) 2021-01-26 21:20:52 +02:00
location.py 3.x Bot API 6.1 (#937) 2022-06-25 18:14:29 +03:00
login_url.py Added support of Bot API 6.2 (#975) 2022-08-14 16:32:29 +03:00
mask_position.py Upgrade architecture + 5.0 Bot API (#469) 2021-01-26 21:20:52 +02:00
menu_button.py Adding new code-generator (Butcher) (#1069) 2022-11-21 01:06:55 +02:00
menu_button_commands.py Add missing shortcuts, new enums, reworked old stuff (#1070) 2022-12-04 03:05:49 +02:00
menu_button_default.py Add missing shortcuts, new enums, reworked old stuff (#1070) 2022-12-04 03:05:49 +02:00
menu_button_web_app.py Add missing shortcuts, new enums, reworked old stuff (#1070) 2022-12-04 03:05:49 +02:00
message.py Added missing FORUM_TOPIC_EDITED value to content_type property (#1160) 2023-04-16 22:41:49 +03:00
message_auto_delete_timer_changed.py Dev 3.x api 5.4 (#744) 2021-11-08 02:37:37 +02:00
message_entity.py Adding new code-generator (Butcher) (#1069) 2022-11-21 01:06:55 +02:00
message_id.py Upgrade architecture + 5.0 Bot API (#469) 2021-01-26 21:20:52 +02:00
order_info.py Dev 3.x i18n & improvements (#696) 2021-09-22 00:52:38 +03:00
passport_data.py 3.x Bot API 6.1 (#937) 2022-06-25 18:14:29 +03:00
passport_element_error.py Upgrade architecture + 5.0 Bot API (#469) 2021-01-26 21:20:52 +02:00
passport_element_error_data_field.py Upgrade architecture + 5.0 Bot API (#469) 2021-01-26 21:20:52 +02:00
passport_element_error_file.py Upgrade architecture + 5.0 Bot API (#469) 2021-01-26 21:20:52 +02:00
passport_element_error_files.py Upgrade architecture + 5.0 Bot API (#469) 2021-01-26 21:20:52 +02:00
passport_element_error_front_side.py Upgrade architecture + 5.0 Bot API (#469) 2021-01-26 21:20:52 +02:00
passport_element_error_reverse_side.py Upgrade architecture + 5.0 Bot API (#469) 2021-01-26 21:20:52 +02:00
passport_element_error_selfie.py Upgrade architecture + 5.0 Bot API (#469) 2021-01-26 21:20:52 +02:00
passport_element_error_translation_file.py Upgrade architecture + 5.0 Bot API (#469) 2021-01-26 21:20:52 +02:00
passport_element_error_translation_files.py Upgrade architecture + 5.0 Bot API (#469) 2021-01-26 21:20:52 +02:00
passport_element_error_unspecified.py Upgrade architecture + 5.0 Bot API (#469) 2021-01-26 21:20:52 +02:00
passport_file.py Dev 3.x api 5.4 (#744) 2021-11-08 02:37:37 +02:00
photo_size.py Dev 3.x api 5.4 (#744) 2021-11-08 02:37:37 +02:00
poll.py Adding new code-generator (Butcher) (#1069) 2022-11-21 01:06:55 +02:00
poll_answer.py Dev 3.x i18n & improvements (#696) 2021-09-22 00:52:38 +03:00
poll_option.py Upgrade architecture + 5.0 Bot API (#469) 2021-01-26 21:20:52 +02:00
pre_checkout_query.py 3.x Bot API 6.1 (#937) 2022-06-25 18:14:29 +03:00
proximity_alert_triggered.py Dev 3.x i18n & improvements (#696) 2021-09-22 00:52:38 +03:00
reply_keyboard_markup.py Added full support of Bot API 6.4 (#1088) 2022-12-30 22:44:25 +02:00
reply_keyboard_remove.py Upgrade architecture + 5.0 Bot API (#469) 2021-01-26 21:20:52 +02:00
response_parameters.py 3.x Bot API 6.1 (#937) 2022-06-25 18:14:29 +03:00
sent_web_app_message.py 3.x Bot API 6.1 (#937) 2022-06-25 18:14:29 +03:00
shipping_address.py 3.x Bot API 6.1 (#937) 2022-06-25 18:14:29 +03:00
shipping_option.py Dev 3.x i18n & improvements (#696) 2021-09-22 00:52:38 +03:00
shipping_query.py Dev 3.x i18n & improvements (#696) 2021-09-22 00:52:38 +03:00
sticker.py Bot API 6.6 (#1139) 2023-03-11 02:17:47 +02:00
sticker_set.py Bot API 6.6 (#1139) 2023-03-11 02:17:47 +02:00
successful_payment.py 3.x Bot API 6.1 (#937) 2022-06-25 18:14:29 +03:00
update.py Remove filters factory, introduce docs translation (#978) 2022-10-02 00:04:31 +03:00
user.py Add missing shortcuts, new enums, reworked old stuff (#1070) 2022-12-04 03:05:49 +02:00
user_profile_photos.py Dev 3.x i18n & improvements (#696) 2021-09-22 00:52:38 +03:00
user_shared.py Added full support of Bot API 6.5 (#1112) 2023-02-04 19:53:32 +02:00
venue.py Dev 3.x i18n & improvements (#696) 2021-09-22 00:52:38 +03:00
video.py Bot API 6.6 (#1139) 2023-03-11 02:17:47 +02:00
video_chat_ended.py Bot API 6.3 (#1063) 2022-11-06 14:28:21 +02:00
video_chat_participants_invited.py [3.x] Bot API 6.0 (#890) 2022-04-19 22:03:24 +03:00
video_chat_scheduled.py Bot API 6.3 (#1063) 2022-11-06 14:28:21 +02:00
video_chat_started.py [3.x] Bot API 6.0 (#890) 2022-04-19 22:03:24 +03:00
video_note.py Bot API 6.6 (#1139) 2023-03-11 02:17:47 +02:00
voice.py 3.x Bot API 6.1 (#937) 2022-06-25 18:14:29 +03:00
web_app_data.py 3.x Bot API 6.1 (#937) 2022-06-25 18:14:29 +03:00
web_app_info.py 3.x Bot API 6.1 (#937) 2022-06-25 18:14:29 +03:00
webhook_info.py 3.x Bot API 6.1 (#937) 2022-06-25 18:14:29 +03:00
write_access_allowed.py Added full support of Bot API 6.4 (#1088) 2022-12-30 22:44:25 +02:00