tg_cli: add searchMessagesFilterPinned.
GitOrigin-RevId: fd44a076dca80bee685d199c78e98bfa6c25d860
This commit is contained in:
parent
1049ae0630
commit
e37fde1baa
@ -1072,6 +1072,9 @@ class CliClient final : public Actor {
|
||||
if (filter == "f" || filter == "failed") {
|
||||
return td_api::make_object<td_api::searchMessagesFilterFailedToSend>();
|
||||
}
|
||||
if (filter == "pi" || filter == "pinned") {
|
||||
return td_api::make_object<td_api::searchMessagesFilterPinned>();
|
||||
}
|
||||
if (!filter.empty()) {
|
||||
LOG(ERROR) << "Unsupported message filter " << filter;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user