diff --git a/td/telegram/cli.cpp b/td/telegram/cli.cpp index 27dbd58f1..9c9995875 100644 --- a/td/telegram/cli.cpp +++ b/td/telegram/cli.cpp @@ -1409,7 +1409,7 @@ class CliClient final : public Actor { if (filter == "restricted") { return td_api::make_object(query); } - if (filter == "nentions") { + if (filter == "mentions") { return td_api::make_object(query, as_message_thread_id(message_thread_id)); }