diff --git a/data/corefork.telegram.org/method/messages.getSearchCounters b/data/corefork.telegram.org/method/messages.getSearchCounters new file mode 100644 index 0000000000..50e7a6044a --- /dev/null +++ b/data/corefork.telegram.org/method/messages.getSearchCounters @@ -0,0 +1,173 @@ + + +
+ +Get the number of results that would be found by a messages.search call with the same parameters
+---functions---
+messages.getSearchCounters#732eef00 peer:InputPeer filters:Vector<MessagesFilter> = Vector<messages.SearchCounter>;
+Name | +Type | +Description | +
---|---|---|
peer | +InputPeer | +Peer where to search | +
filters | +Vector<MessagesFilter> | +Search filters | +
Vector<messages.SearchCounter>
+Code | +Type | +Description | +
---|---|---|
400 | +PEER_ID_INVALID | +The provided peer id is invalid. | +
Gets back found messages