Inherits Object.
Describes a symbol shown on the pattern of an upgraded gift.
Public Fields | |
| string | name_ |
| Name of the symbol. | |
| object_ptr< sticker > | sticker_ |
| The sticker representing the symbol. | |
| int32 | rarity_per_mille_ |
| The number of upgraded gifts that receive this symbol for each 1000 gifts upgraded. | |
Public Instance Methods | |
| upgradedGiftSymbol () | |
| upgradedGiftSymbol (string const &name_, object_ptr< sticker > &&sticker_, int32 rarity_per_mille_) | |
| 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 = 1128318383 |
| Identifier uniquely determining a type of the object. | |
Describes a symbol shown on the pattern of an upgraded gift.
| upgradedGiftSymbol | ( | string const & | name_, |
| object_ptr< sticker > && | sticker_, | ||
| int32 | rarity_per_mille_ | ||
| ) |
Describes a symbol shown on the pattern of an upgraded gift.
| [in] | name_ | Name of the symbol. |
| [in] | sticker_ | The sticker representing the symbol. |
| [in] | rarity_per_mille_ | The number of upgraded gifts that receive this symbol for each 1000 gifts upgraded. |
|
finalvirtual |