Layer 227
SearchPostsFloodObj
Indicates if the specified global post search requires payment.
constructor
searchPostsFlood#3e0b5b6a flags:# query_is_free:flags.0?true total_daily:int remains:int wait_till:flags.1?int stars_amount:long = SearchPostsFlood;
Parameters
| Name | Type | Description |
|---|---|---|
| QueryIsFree | flags .0? true | The specified query is free (and it will not use up free search slots ). |
| TotalDaily | int | Total number of daily free search slots. |
| Remains | int | Remaining number of free search slots. |
| WaitTill | flags .1? int | If there are no more search slots, specifies the unixtime when more search slots will be available. |
| StarsAmount | long | The number of Telegram Stars to pay for each non-free search. |
Returns
SearchPostsFloodGogram Example
// Creating SearchPostsFloodObj constructor obj := &tg.SearchPostsFloodObj{ QueryIsFree: nil, TotalDaily: 42, Remains: 42, WaitTill: nil, StarsAmount: int64(1234567890), }