Link Search Menu Expand Document

Constructor: messages.searchCounter

Back to constructors index

Indicates how many results would be found by a messages.search call with the same parameters

Attributes:

NameTypeRequiredDescription
inexactBoolOptionalIf set, the results may be inexact
filterMessagesFilterYesProvided message filter
countintYesNumber of results that were found server-side

Type: messages.SearchCounter

Example:

$messages_searchCounter = ['_' => 'messages.searchCounter', 'inexact' => Bool, 'filter' => MessagesFilter, 'count' => int];