SearchCounter

class pyrogram.raw.types.messages.SearchCounter

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

Constructor type of SearchCounter.

Details
  • Layer: 126

  • ID: 0xe844ebff

Parameters
  • filter (MessagesFilter) – Provided message filter.

  • count (int 32-bit) – Number of results that were found server-side.

  • inexact (bool, optional) – If set, the results may be inexact.

Methods

This object can be returned by 1 method:

messages.GetSearchCounters

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