TDLib
Loading...
Searching...
No Matches
upgradedGiftSymbol Class Referencefinal

Inherits Object.

Description

Describes a symbol shown on the pattern of an upgraded gift.

Public Member Functions

void store (TlStorerToString &s, const char *field_name) const final
 upgradedGiftSymbol ()
 upgradedGiftSymbol (string const &name_, object_ptr< sticker > &&sticker_, object_ptr< UpgradedGiftAttributeRarity > &&rarity_)
Public Member Functions inherited from TlObject
TlObject & operator= (const TlObject &)=delete
TlObject & operator= (TlObject &&)=default
virtual void store (TlStorerCalcLength &s) const
virtual void store (TlStorerUnsafe &s) const
 TlObject ()=default
 TlObject (const TlObject &)=delete
 TlObject (TlObject &&)=default
virtual ~TlObject ()=default

Public Attributes

string name_
 Name of the symbol.
object_ptr< UpgradedGiftAttributeRarity > rarity_
 The rarity of the symbol.
object_ptr< sticker > sticker_
 The sticker representing the symbol.

Static Public Attributes

static const std::int32_t ID = 744249151
 Identifier uniquely determining a type of the object.

Constructor & Destructor Documentation

◆ upgradedGiftSymbol() [1/2]

upgradedGiftSymbol ( )

Describes a symbol shown on the pattern of an upgraded gift.

◆ upgradedGiftSymbol() [2/2]

upgradedGiftSymbol ( string const & name_,
object_ptr< sticker > && sticker_,
object_ptr< UpgradedGiftAttributeRarity > && rarity_ )

Describes a symbol shown on the pattern of an upgraded gift.

Parameters
[in]name_Name of the symbol.
[in]sticker_The sticker representing the symbol.
[in]rarity_The rarity of the symbol.

Member Function Documentation

◆ store()

void store ( TlStorerToString & s,
const char * field_name ) const
finalvirtual

Helper function for to_string method. Appends string representation of the object to the storer.

Parameters
[in]sStorer to which object string representation will be appended.
[in]field_nameObject field_name if applicable.

Implements TlObject.


The documentation for this class was generated from the following file: