diff --git a/crates/teloxide-core/CHANGELOG.md b/crates/teloxide-core/CHANGELOG.md index 4fe6e0a5..e9fb7958 100644 --- a/crates/teloxide-core/CHANGELOG.md +++ b/crates/teloxide-core/CHANGELOG.md @@ -19,7 +19,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - `ChatId::as_user` ([#905][pr905]) - Implement `PartialEq for UserId` and `PartialEq for ChatId` ([#905][pr905]) - `ChatId::{MIN, MAX}` ([#905][pr905]) -- Add Missing Message::filter_* functions: `filter_game`, `filter_venue`, `filter_video`, `filter_video_note`, `filter_voice`, `filter_migration`, `filter_migration_from`, `filter_migration_to`, `filter_new_chat_title`, `filter_new_chat_photo`, `filter_delete_chat_photo`, `filter_group_chat_created`, `filter_supergroup_chat_created`, `filter_channel_chat_created`, `filter_message_auto_delete_timer_changed`, `filter_invoice`, `filter_successful_payment`, `filter_connected_website`, `filter_write_access_allowed`, `filter_passport_data`, `filter_proximity_alert_triggered`, `filter_forum_topic_created`, `filter_forum_topic_edited`, `filter_forum_topic_closed`, `filter_forum_topic_reopened`, `filter_general_forum_topic_hidden`, `filter_general_forum_topic_unhidden`, `filter_video_chat_scheduled`, `filter_video_chat_started`, `filter_video_chat_ended`, `filter_video_chat_participants_invited`, `filter_web_app_data` and getters: `message_auto_delete_timer_changed`, `write_access_allowed`, `forum_topic_created`, `forum_topic_edited`, `forum_topic_closed`, `forum_topic_reopened`, `general_forum_topic_hidden`, `general_forum_topic_unhidden`, `video_chat_scheduled`, `video_chat_started`, `video_chat_ended`, `web_app_data` ([#982][pr982]) +- Add missing Message::filter_* functions: `filter_game`, `filter_venue`, `filter_video`, `filter_video_note`, `filter_voice`, `filter_migration`, `filter_migration_from`, `filter_migration_to`, `filter_new_chat_title`, `filter_new_chat_photo`, `filter_delete_chat_photo`, `filter_group_chat_created`, `filter_supergroup_chat_created`, `filter_channel_chat_created`, `filter_message_auto_delete_timer_changed`, `filter_invoice`, `filter_successful_payment`, `filter_connected_website`, `filter_write_access_allowed`, `filter_passport_data`, `filter_proximity_alert_triggered`, `filter_forum_topic_created`, `filter_forum_topic_edited`, `filter_forum_topic_closed`, `filter_forum_topic_reopened`, `filter_general_forum_topic_hidden`, `filter_general_forum_topic_unhidden`, `filter_video_chat_scheduled`, `filter_video_chat_started`, `filter_video_chat_ended`, `filter_video_chat_participants_invited`, `filter_web_app_data` and getters: `message_auto_delete_timer_changed`, `write_access_allowed`, `forum_topic_created`, `forum_topic_edited`, `forum_topic_closed`, `forum_topic_reopened`, `general_forum_topic_hidden`, `general_forum_topic_unhidden`, `video_chat_scheduled`, `video_chat_started`, `video_chat_ended`, `web_app_data` ([#982][pr982]) +- Add `is_delete_chat_photo`, `is_group_chat_created`, `is_super_group_chat_created`, `is_channel_chat_created` to `Message` getters ([#982][pr982]) [pr851]: https://github.com/teloxide/teloxide/pull/851 [pr887]: https://github.com/teloxide/teloxide/pull/887 @@ -73,6 +74,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Note that now `DefaultParseMode` sets the default on `send`, instead of request creation - `DefaultParseMode` now also requires that the supported requests implement `Clone` (as a user you should not notice anything changing) - Methods of the Message type: `delete_chat_photo`, `group_chat_created`, `super_group_chat_created`, `channel_chat_created`, `chat_migration`, `migrate_to_chat_id`, `migrate_from_chat_id` now return shared reference instead of owned value inside Option ([#982][pr982]) +- Methods `delete_chat_photo`, `group_chat_created`, `super_group_chat_created`, `channel_chat_created` now return appropriate structs not Option ([#982][pr982]) [pr852]: https://github.com/teloxide/teloxide/pull/853 [pr859]: https://github.com/teloxide/teloxide/pull/859