From ab069009b5bea346cb6d0236f322b5f16811d0ca Mon Sep 17 00:00:00 2001 From: Andrey Brusnik Date: Tue, 30 Jul 2024 16:36:57 +0400 Subject: [PATCH] Mention in changelog that `disable_web_page_preview` was replaced by `link_preview_options` --- crates/teloxide-core/CHANGELOG.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/crates/teloxide-core/CHANGELOG.md b/crates/teloxide-core/CHANGELOG.md index 66f476c4..38ca8c93 100644 --- a/crates/teloxide-core/CHANGELOG.md +++ b/crates/teloxide-core/CHANGELOG.md @@ -98,10 +98,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Replies 2.0 - Add the fields `MessageCommon::{external_reply, quote}` of types `ExternalReplyInfo` and `TextQuote` respectively - Link Preview Customization - - Remove `disable_web_page_preview` field from `send_message` and `send_message` TBA methods and `InputMessageContentText` struct - - Add `LinkPreviewOptions` struct - - Add `link_preview_options` field to `InputMessageContentText` and `Message` structs - - Add `link_preview_options` field to `send_message` and `send_message` TBA methods + - `disable_web_page_preview` replaced with `link_preview_options`: + - Remove `disable_web_page_preview` field from `send_message` and `send_message` TBA methods and `InputMessageContentText` struct + - Add `LinkPreviewOptions` struct + - Add `link_preview_options` field to `InputMessageContentText` and `Message` structs + - Add `link_preview_options` field to `send_message` and `send_message` TBA methods - Multiple Message Actions - Add TBA methods `delete_messages`, `forward_messages` and `copy_messages` to `Requester` trait - Chat Boost