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.
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.
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
├── inexact →
true (optional)├── filter →
MessagesFilter│ ├──
InputMessagesFilterEmpty│ ├──
InputMessagesFilterVideo│ ├──
InputMessagesFilterUrl│ ├──
InputMessagesFilterGif│ ├──
InputMessagesFilterVoice│ ├──
InputMessagesFilterMusic│ │ └── missed →
true (optional)│ ├──
InputMessagesFilterGeo└── count →
intExample
SearchCounter(
inexact=None,
filter=InputMessagesFilterEmpty(),
count=0,
)