diff --git a/td/telegram/cli.cpp b/td/telegram/cli.cpp index 8601d636c..728b0f15b 100644 --- a/td/telegram/cli.cpp +++ b/td/telegram/cli.cpp @@ -1072,6 +1072,9 @@ class CliClient final : public Actor { if (filter == "f" || filter == "failed") { return td_api::make_object(); } + if (filter == "pi" || filter == "pinned") { + return td_api::make_object(); + } if (!filter.empty()) { LOG(ERROR) << "Unsupported message filter " << filter; }