tdlib-obf API
Reference documentation for the public tdlib-obf API, generated from TDLib schemas and public headers
Loading...
Searching...
No Matches
td::td_api::publicPostSearchLimits Class Referencefinal

#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>

Inheritance diagram for td::td_api::publicPostSearchLimits:
td::td_api::Object td::TlObject

Public Member Functions

 publicPostSearchLimits ()
 
 publicPostSearchLimits (int32 daily_free_query_count_, int32 remaining_free_query_count_, int32 next_free_query_in_, int53 star_count_, bool is_current_query_free_)
 
void store (TlStorerToString &s, const char *field_name) const final
 
- Public Member Functions inherited from td::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
 

Public Attributes

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.
 
int53 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&#x27;t charged.
 

Static Public Attributes

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

Detailed Description

Contains information about public post search limits.

Definition at line 56041 of file td_api.h.

Constructor & Destructor Documentation

◆ publicPostSearchLimits() [1/2]

td::td_api::publicPostSearchLimits::publicPostSearchLimits ( )

Contains information about public post search limits.

◆ publicPostSearchLimits() [2/2]

td::td_api::publicPostSearchLimits::publicPostSearchLimits ( int32  daily_free_query_count_,
int32  remaining_free_query_count_,
int32  next_free_query_in_,
int53  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&#x27;t charged.

Member Function Documentation

◆ store()

void td::td_api::publicPostSearchLimits::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 td::TlObject.

Member Data Documentation

◆ daily_free_query_count_

int32 td::td_api::publicPostSearchLimits::daily_free_query_count_

Number of queries that can be sent daily for free.

Definition at line 56052 of file td_api.h.

◆ ID

const std::int32_t td::td_api::publicPostSearchLimits::ID = 42358064
static

Identifier uniquely determining a type of the object.

Definition at line 56079 of file td_api.h.

◆ is_current_query_free_

bool td::td_api::publicPostSearchLimits::is_current_query_free_

True, if the search for the specified query isn&#x27;t charged.

Definition at line 56060 of file td_api.h.

◆ next_free_query_in_

int32 td::td_api::publicPostSearchLimits::next_free_query_in_

Amount of time till the next free query can be sent; 0 if it can be sent now.

Definition at line 56056 of file td_api.h.

◆ remaining_free_query_count_

int32 td::td_api::publicPostSearchLimits::remaining_free_query_count_

Number of remaining free queries today.

Definition at line 56054 of file td_api.h.

◆ star_count_

int53 td::td_api::publicPostSearchLimits::star_count_

Number of Telegram Stars that must be paid for each non-free query.

Definition at line 56058 of file td_api.h.


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