From 2a04800ce970ff66cb9f4ab6b6cd1b89ae2afa8e Mon Sep 17 00:00:00 2001 From: levlam Date: Tue, 21 May 2024 12:31:13 +0300 Subject: [PATCH] tg_cli: remove protect_content and update_sticker_set_order flags. --- td/telegram/cli.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/td/telegram/cli.cpp b/td/telegram/cli.cpp index b4c78f27f..365edf33f 100644 --- a/td/telegram/cli.cpp +++ b/td/telegram/cli.cpp @@ -2410,7 +2410,7 @@ class CliClient final : public Actor { } auto id = send_request(td_api::make_object( chat_id, message_thread_id_, get_input_message_reply_to(), - td_api::make_object(disable_notification, from_background, true, true, + td_api::make_object(disable_notification, from_background, false, false, as_message_scheduling_state(schedule_date_), Random::fast(1, 1000), only_preview_), nullptr, std::move(input_message_content)));