messages.SearchCounter#

class pyrogram.raw.types.messages.SearchCounter#

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

Constructor of SearchCounter.

Details:
  • Layer: 158

  • ID: E844EBFF

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.

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.