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::starRevenueStatus Class Referencefinal

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

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

Public Member Functions

 starRevenueStatus ()
 
 starRevenueStatus (object_ptr< starAmount > &&total_amount_, object_ptr< starAmount > &&current_amount_, object_ptr< starAmount > &&available_amount_, bool withdrawal_enabled_, int32 next_withdrawal_in_)
 
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

object_ptr< starAmounttotal_amount_
 Total Telegram Star amount earned.
 
object_ptr< starAmountcurrent_amount_
 The Telegram Star amount that isn&#x27;t withdrawn yet.
 
object_ptr< starAmountavailable_amount_
 The Telegram Star amount that is available for withdrawal.
 
bool withdrawal_enabled_
 True, if Telegram Stars can be withdrawn now or later.
 
int32 next_withdrawal_in_
 Time left before the next withdrawal can be started, in seconds; 0 if withdrawal can be started now.
 

Static Public Attributes

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

Detailed Description

Contains information about Telegram Stars earned by a user or a chat.

Definition at line 64656 of file td_api.h.

Constructor & Destructor Documentation

◆ starRevenueStatus() [1/2]

td::td_api::starRevenueStatus::starRevenueStatus ( )

Contains information about Telegram Stars earned by a user or a chat.

◆ starRevenueStatus() [2/2]

td::td_api::starRevenueStatus::starRevenueStatus ( object_ptr< starAmount > &&  total_amount_,
object_ptr< starAmount > &&  current_amount_,
object_ptr< starAmount > &&  available_amount_,
bool  withdrawal_enabled_,
int32  next_withdrawal_in_ 
)

Contains information about Telegram Stars earned by a user or a chat.

Parameters
[in]total_amount_Total Telegram Star amount earned.
[in]current_amount_The Telegram Star amount that isn&#x27;t withdrawn yet.
[in]available_amount_The Telegram Star amount that is available for withdrawal.
[in]withdrawal_enabled_True, if Telegram Stars can be withdrawn now or later.
[in]next_withdrawal_in_Time left before the next withdrawal can be started, in seconds; 0 if withdrawal can be started now.

Member Function Documentation

◆ store()

void td::td_api::starRevenueStatus::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

◆ available_amount_

object_ptr<starAmount> td::td_api::starRevenueStatus::available_amount_

The Telegram Star amount that is available for withdrawal.

Definition at line 64671 of file td_api.h.

◆ current_amount_

object_ptr<starAmount> td::td_api::starRevenueStatus::current_amount_

The Telegram Star amount that isn&#x27;t withdrawn yet.

Definition at line 64669 of file td_api.h.

◆ ID

const std::int32_t td::td_api::starRevenueStatus::ID = 2006266600
static

Identifier uniquely determining a type of the object.

Definition at line 64694 of file td_api.h.

◆ next_withdrawal_in_

int32 td::td_api::starRevenueStatus::next_withdrawal_in_

Time left before the next withdrawal can be started, in seconds; 0 if withdrawal can be started now.

Definition at line 64675 of file td_api.h.

◆ total_amount_

object_ptr<starAmount> td::td_api::starRevenueStatus::total_amount_

Total Telegram Star amount earned.

Definition at line 64667 of file td_api.h.

◆ withdrawal_enabled_

bool td::td_api::starRevenueStatus::withdrawal_enabled_

True, if Telegram Stars can be withdrawn now or later.

Definition at line 64673 of file td_api.h.


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