Inherits Object.
Contains information about Telegram Stars earned by a bot or a chat.
Public Fields | |
int53 | total_count_ |
Total number of Telegram Stars earned. | |
int53 | current_count_ |
The number of Telegram Stars that aren't withdrawn yet. | |
int53 | available_count_ |
The number 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 (int53 total_count_, int53 current_count_, int53 available_count_, 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 = -396634629 |
Identifier uniquely determining a type of the object. | |
Contains information about Telegram Stars earned by a bot or a chat.
starRevenueStatus | ( | int53 | total_count_, |
int53 | current_count_, | ||
int53 | available_count_, | ||
bool | withdrawal_enabled_, | ||
int32 | next_withdrawal_in_ | ||
) |
Contains information about Telegram Stars earned by a bot or a chat.
[in] | total_count_ | Total number of Telegram Stars earned. |
[in] | current_count_ | The number of Telegram Stars that aren't withdrawn yet. |
[in] | available_count_ | The number 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 |