Inherits Object.
Contains information about public post search limits.
Public Fields | |
| int32 | daily_free_query_count_ |
| Number of queries that can be sent daily for free. | |
| int32 | remaining_free_query_count_ |
| Number of remaining free queries today. | |
| int32 | next_free_query_in_ |
| Amount of time till the next free query can be sent; 0 if it can be sent now. | |
| int64 | star_count_ |
| Number of Telegram Stars that must be paid for each non-free query. | |
| bool | is_current_query_free_ |
| True, if the search for the specified query isn't charged. | |
Public Instance Methods | |
| publicPostSearchLimits () | |
| publicPostSearchLimits (int32 daily_free_query_count_, int32 remaining_free_query_count_, int32 next_free_query_in_, int64 star_count_, bool is_current_query_free_) | |
| void | store (TlStorerToString &s, const char *field_name) const final |
Public Instance Methods inherited from TlObject | |
| virtual void | store (TlStorerUnsafe &s) const |
| virtual void | store (TlStorerCalcLength &s) const |
| TlObject ()=default | |
| TlObject (const TlObject &)=delete | |
| TlObject & | operator= (const TlObject &)=delete |
| TlObject (TlObject &&)=default | |
| TlObject & | operator= (TlObject &&)=default |
| virtual | ~TlObject ()=default |
Static Public Attributes | |
| static const std::int32_t | ID = -1559054228 |
| Identifier uniquely determining a type of the object. | |
Contains information about public post search limits.
| publicPostSearchLimits | ( | int32 | daily_free_query_count_, |
| int32 | remaining_free_query_count_, | ||
| int32 | next_free_query_in_, | ||
| int64 | star_count_, | ||
| bool | is_current_query_free_ | ||
| ) |
Contains information about public post search limits.
| [in] | daily_free_query_count_ | Number of queries that can be sent daily for free. |
| [in] | remaining_free_query_count_ | Number of remaining free queries today. |
| [in] | next_free_query_in_ | Amount of time till the next free query can be sent; 0 if it can be sent now. |
| [in] | star_count_ | Number of Telegram Stars that must be paid for each non-free query. |
| [in] | is_current_query_free_ | True, if the search for the specified query isn't charged. |
|
finalvirtual |