aboutsummaryrefslogtreecommitdiffhomepage
path: root/td/telegram/cli.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'td/telegram/cli.cpp')
-rw-r--r--td/telegram/cli.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/td/telegram/cli.cpp b/td/telegram/cli.cpp
index 785b8e135..095be1e5d 100644
--- a/td/telegram/cli.cpp
+++ b/td/telegram/cli.cpp
@@ -2951,7 +2951,7 @@ class CliClient final : public Actor {
bool disable_notification = false, bool from_background = false) {
if (ephemeral_message_receiver_id_ != 0) {
send_request(td_api::make_object<td_api::sendEphemeralMessage>(
- chat_id, get_message_topic_id(), ephemeral_message_receiver_id_, get_input_message_reply_to(), 123,
+ chat_id, get_message_topic_id(), ephemeral_message_receiver_id_, 0, get_input_message_reply_to(), 123,
only_preview_, nullptr, std::move(input_message_content)));
return;
}