|
tdlib-obf API
Reference documentation for the public tdlib-obf API, generated from TDLib schemas and public headers
|
#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>
Public Member Functions | |
| starRevenueStatus () | |
| starRevenueStatus (object_ptr< starAmount > &&total_amount_, object_ptr< starAmount > &¤t_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 | |
| TlObject & | operator= (const TlObject &)=delete |
| TlObject (TlObject &&)=default | |
| TlObject & | operator= (TlObject &&)=default |
| virtual | ~TlObject ()=default |
Public Attributes | |
| object_ptr< starAmount > | total_amount_ |
| Total Telegram Star amount earned. | |
| object_ptr< starAmount > | current_amount_ |
| The Telegram Star amount that isn't withdrawn yet. | |
| object_ptr< starAmount > | available_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. | |
Contains information about Telegram Stars earned by a user or a chat.
| td::td_api::starRevenueStatus::starRevenueStatus | ( | ) |
Contains information about Telegram Stars earned by a user or a chat.
| 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.
| [in] | total_amount_ | Total Telegram Star amount earned. |
| [in] | current_amount_ | The Telegram Star amount that isn'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. |
|
finalvirtual |
Helper function for to_string method. Appends string representation of the object to the storer.
| [in] | s | Storer to which object string representation will be appended. |
| [in] | field_name | Object field_name if applicable. |
Implements td::TlObject.
| object_ptr<starAmount> td::td_api::starRevenueStatus::available_amount_ |
| object_ptr<starAmount> td::td_api::starRevenueStatus::current_amount_ |
|
static |
| int32 td::td_api::starRevenueStatus::next_withdrawal_in_ |
| object_ptr<starAmount> td::td_api::starRevenueStatus::total_amount_ |
| bool td::td_api::starRevenueStatus::withdrawal_enabled_ |