messages.SearchCounter

class pyrogram.raw.base.messages.SearchCounter

Number of results that would be returned by a search

Constructors:

This base type has 1 constructor available.

messages.SearchCounter

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

Functions:

This object can be returned by 1 function.

messages.GetSearchCounters

Get the number of results that would be found by a messages.search call with the same parameters

TL Schema

messages.searchCounter#e844ebff
flags:#
inexact:flags.1?true
filter:MessagesFilter
count:int

= messages.SearchCounter

Parameter Tree

SearchCounter
├── inexacttrue (optional)
├── filterMessagesFilter
│ │ └── missedtrue (optional)
└── countint

Example

SearchCounter(
    inexact=None,
    filter=InputMessagesFilterEmpty(),
    count=0,
)