messages.getSearchCounters
Get the number of results that would be found by a messages.search call with the same parameters
Get the number of results that would be found by a [messages.search](https://core.telegram.org/method/messages.search.md) call with the same parameters
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
peer | InputPeer | はい | Peer where to search |
saved_peer_id | InputPeer | いいえ | Search within the [saved message dialog »](https://core.telegram.org/api/saved-messages.md) with this ID. |
top_msg_id | int | いいえ | If set, consider only messages within the specified [forum topic](https://core.telegram.org/api/forum.md#forum-topics) |
filters | Vector<MessagesFilter> | はい | Search filters |
レスポンス
Vector<messages.SearchCounter>
MTProto RPC
- 400 · PEER_ID_INVALID — The provided peer id is invalid.