SearchPostsFlood#

class pyrogram.raw.types.SearchPostsFlood#

Indicates if the specified global post search requires payment.

Constructor of SearchPostsFlood.

Details:
  • Layer: 220

  • ID: 3E0B5B6A

Parameters:
  • total_daily (int 32-bit) – Total number of daily free search slots.

  • remains (int 32-bit) – Remaining number of free search slots.

  • stars_amount (int 64-bit) – The number of Telegram Stars to pay for each non-free search.

  • query_is_free (bool, optional) – The specified query is free (and it will not use up free search slots).

  • wait_till (int 32-bit, optional) – If there are no more search slots, specifies the unixtime when more search slots will be available.

Functions:

This object can be returned by 1 function.

channels.CheckSearchPostsFlood

Check if the specified global post search requires payment.