Inherits Object.
Describes a possibly non-integer amount of Telegram Stars.
Public Fields | |
int53 | star_count_ |
The integer amount of Telegram Stars rounded to 0. | |
int32 | nanostar_count_ |
The number of 1/1000000000 shares of Telegram Stars; from -999999999 to 999999999. | |
Public Instance Methods | |
starAmount () | |
starAmount (int53 star_count_, int32 nanostar_count_) | |
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 = 1863216512 |
Identifier uniquely determining a type of the object. | |
starAmount | ( | ) |
Describes a possibly non-integer amount of Telegram Stars.
starAmount | ( | int53 | star_count_, |
int32 | nanostar_count_ | ||
) |
Describes a possibly non-integer amount of Telegram Stars.
[in] | star_count_ | The integer amount of Telegram Stars rounded to 0. |
[in] | nanostar_count_ | The number of 1/1000000000 shares of Telegram Stars; from -999999999 to 999999999. |
|
finalvirtual |