SearchPostsFlood
- class pyrogram.raw.types.SearchPostsFlood
Indicates if the specified global post search » requires payment.
Constructor of
SearchPostsFlood.- Details:
Layer:
223ID:
3E0B5B6A
- Parameters:
total_daily (
int32-bit) – Total number of daily free search slots.remains (
int32-bit) – Remaining number of free search slots.stars_amount (
int64-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 (
int32-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.
Check if the specified global post search » requires payment.
TL Schema
searchPostsFlood#3e0b5b6a
flags:#
query_is_free:flags.0?true
total_daily:int
remains:int
wait_till:flags.1?int
stars_amount:long
= SearchPostsFlood
Parameter Tree
SearchPostsFlood
├── query_is_free →
true (optional)├── total_daily →
int├── remains →
int├── wait_till →
int (optional)└── stars_amount →
longExample
SearchPostsFlood(
total_daily=0,
remains=0,
stars_amount=0,
)