Skip to content

PublicPostSearchLimits

Type · TDLib 1.8.67 · d1085f9c

Contains information about public post search limits

PublicPostSearchLimits(
  daily_free_query_count: int32,
  remaining_free_query_count: int32,
  next_free_query_in: int32,
  star_count: int53,
  is_current_query_free: Bool
) → PublicPostSearchLimits

daily_free_query_count

int32

Number of queries that can be sent daily for free

remaining_free_query_count

int32

Number of remaining free queries today

next_free_query_in

int32

Amount of time till the next free query can be sent; 0 if it can be sent now

star_count

int53

Number of Telegram Stars that must be paid for each non-free query

is_current_query_free

Bool

True, if the search for the specified query isn't charged