Link Search Menu Expand Document

Constructor: searchPostsFlood

Back to constructors index

Indicates if the specified global post search » requires payment.

Attributes:

NameTypeRequiredDescription
query_is_freeBoolOptionalThe specified query is free (and it will not use up free search slots).
total_dailyintYesTotal number of daily free search slots.
remainsintYesRemaining number of free search slots.
wait_tillintOptionalIf there are no more search slots, specifies the unixtime when more search slots will be available.
stars_amountlongYesThe number of Telegram Stars to pay for each non-free search.

Type: SearchPostsFlood

Example:

$searchPostsFlood = ['_' => 'searchPostsFlood', 'query_is_free' => Bool, 'total_daily' => int, 'remains' => int, 'wait_till' => int, 'stars_amount' => long];