Inherits Object.
Describes parameters of a unique gift available for resale.
Public Fields | |
int53 | star_count_ |
Resale price of the gift in Telegram Stars. | |
int53 | toncoin_cent_count_ |
Resale price of the gift in 1/100 of Toncoin. | |
bool | toncoin_only_ |
True, if the gift can be bought only using Toncoins. | |
Public Instance Methods | |
giftResaleParameters () | |
giftResaleParameters (int53 star_count_, int53 toncoin_cent_count_, bool toncoin_only_) | |
void | store (TlStorerToString &s, const char *field_name) const final |
![]() | |
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 = -2144380890 |
Identifier uniquely determining a type of the object. | |
Describes parameters of a unique gift available for resale.
giftResaleParameters | ( | int53 | star_count_, |
int53 | toncoin_cent_count_, | ||
bool | toncoin_only_ | ||
) |
Describes parameters of a unique gift available for resale.
[in] | star_count_ | Resale price of the gift in Telegram Stars. |
[in] | toncoin_cent_count_ | Resale price of the gift in 1/100 of Toncoin. |
[in] | toncoin_only_ | True, if the gift can be bought only using Toncoins. |
|
finalvirtual |