mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
1.1 KiB
1.1 KiB
title | description | nav_exclude | image | redirect_from |
---|---|---|---|---|
messages.searchCounter | Indicates how many results would be found by a messages.search call with the same parameters | true | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png | /API_docs/constructors/messages_searchCounter.html |
Constructor: messages.searchCounter
Indicates how many results would be found by a messages.search call with the same parameters
Attributes:
Name | Type | Required | Description |
---|---|---|---|
inexact | Bool | Optional | If set, the results may be inexact |
filter | MessagesFilter | Yes | Provided message filter |
count | int | Yes | Number of results that were found server-side |
Type: messages.SearchCounter
Example:
$messages_searchCounter = ['_' => 'messages.searchCounter', 'inexact' => Bool, 'filter' => MessagesFilter, 'count' => int];