List of all members | Public Fields | Public Instance Methods | Static Public Attributes
publicPostSearchLimits Class Referencefinal

Inherits Object.

Description

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
 
TlObjectoperator= (const TlObject &)=delete
 
 TlObject (TlObject &&)=default
 
TlObjectoperator= (TlObject &&)=default
 
virtual ~TlObject ()=default
 

Static Public Attributes

static const std::int32_t ID = -1559054228
 Identifier uniquely determining a type of the object.
 

Constructor & Destructor Documentation

◆ publicPostSearchLimits() [1/2]

Contains information about public post search limits.

◆ publicPostSearchLimits() [2/2]

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.

Parameters
[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.

Method Documentation

◆ store()

void store ( TlStorerToString &  s,
const char *  field_name 
) const
finalvirtual

Helper function for to_string method. Appends string representation of the object to the storer.

Parameters
[in]sStorer to which object string representation will be appended.
[in]field_nameObject field_name if applicable.

Implements TlObject.


The documentation for this class was generated from the following file: