Inherits Object.
Contains information about Telegram Stars earned by a user or a chat.
Public Fields | |
| object_ptr< starAmount > | total_amount_ |
| Total amount of Telegram Stars earned. | |
| object_ptr< starAmount > | current_amount_ |
| The amount of Telegram Stars that aren't withdrawn yet. | |
| object_ptr< starAmount > | available_amount_ |
| The amount of Telegram Stars that are 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. | |
Public Instance Methods | |
| 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 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 = 2006266600 |
| Identifier uniquely determining a type of the object. | |
Contains information about Telegram Stars earned by a user or a chat.
| 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 amount of Telegram Stars earned. |
| [in] | current_amount_ | The amount of Telegram Stars that aren't withdrawn yet. |
| [in] | available_amount_ | The amount of Telegram Stars that are 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 |