From d8018b3c1583d846bfbf1db23e2ca2298a102994 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A1=D1=8B=D1=80=D1=86=D0=B5=D0=B2=20=D0=92=D0=B0=D0=B4?= =?UTF-8?q?=D0=B8=D0=BC=20=D0=98=D0=B3=D0=BE=D1=80=D0=B5=D0=B2=D0=B8=D1=87?= Date: Thu, 4 Apr 2024 20:55:57 +0300 Subject: [PATCH] Update CHANGELOG.md --- crates/teloxide-core/CHANGELOG.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/crates/teloxide-core/CHANGELOG.md b/crates/teloxide-core/CHANGELOG.md index 9af978f6..18eb09ac 100644 --- a/crates/teloxide-core/CHANGELOG.md +++ b/crates/teloxide-core/CHANGELOG.md @@ -45,11 +45,27 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Add `RequestUser` variant to `ButtonRequest` - Add `UserShared` variant to `MessageKind` - Add `shared_user` method to `Message` +- Support for TBA 6.6 ([#1040](pr1040)) + - Add methods for working with bot's description: + - `set_my_description` + - `get_my_description` + - `set_my_short_description` + - `get_my_short_description` + - Add methods for working with sticker sets: + - `set_custom_emoji_sticker_set_thumbnail` + - `set_sticker_set_title` + - `delete_sticker_set` + - `set_sticker_emoji_list` + - `set_sticker_keywords` + - `set_sticker_mask_position` + - Add parameter `emoji` to the `send_sticker` method + - Add field `needs_repainting` to the struct `Sticker` [pr851]: https://github.com/teloxide/teloxide/pull/851 [pr887]: https://github.com/teloxide/teloxide/pull/887 [pr905]: https://github.com/teloxide/teloxide/pull/905 [pr982]: https://github.com/teloxide/teloxide/pull/982 +[pr1040]: https://github.com/teloxide/teloxide/pull/1040 ### Fixed @@ -106,6 +122,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - `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]) +- Method `upload_sticker_file` now use `sticker` and `sticker_format` parameters instead of `png_sticker` ([#1040][pr1040]) +- Renamed `SendAnimation::thumb`, `SendAudio::thumb`, `SendDocument::thumb`, `SendVideo::thumb`, `SendVideoNote::thumb` into `thumbnail`([#1040][pr1040]) +- Renamed `set_sticker_set_thumb` into `set_sticker_set_thumbnail` ([#1040][pr1040]) +- Renamed `thumb_url`, `thumb_width`, `thumb_height` into `thumbnail_url`, `thumbnail_width`, `thumbnail_height` in `InlineQueryResultArticle`, `InlineQueryResultContact`, `InlineQueryResultDocument`, `InlineQueryResultLocation`, `InlineQueryResultVenue` ([#1040][pr1040]) +- Renamed `thumb_url` into `thumbnail_url` in `InlineQueryResultPhoto`, `InlineQueryResultVideo` ([#1040][pr1040]) +- Renamed `thumb_url` into `thumbnail_url` in `InlineQueryResultGif`, `InlineQueryResultMpeg4Gif` ([#1040][pr1040]) [pr852]: https://github.com/teloxide/teloxide/pull/853 [pr859]: https://github.com/teloxide/teloxide/pull/859