tdlib-obf API
Reference documentation for the public tdlib-obf API, generated from TDLib schemas and public headers
Loading...
Searching...
No Matches
td::td_api::upgradedGiftSymbol Class Referencefinal

#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>

Inheritance diagram for td::td_api::upgradedGiftSymbol:
td::td_api::Object td::TlObject

Public Member Functions

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

Public Attributes

string name_
 Name of the symbol.
 
object_ptr< stickersticker_
 The sticker representing the symbol.
 
object_ptr< UpgradedGiftAttributeRarityrarity_
 The rarity of the symbol.
 

Static Public Attributes

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

Detailed Description

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

Definition at line 84524 of file td_api.h.

Constructor & Destructor Documentation

◆ upgradedGiftSymbol() [1/2]

td::td_api::upgradedGiftSymbol::upgradedGiftSymbol ( )

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

◆ upgradedGiftSymbol() [2/2]

td::td_api::upgradedGiftSymbol::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 td::td_api::upgradedGiftSymbol::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 td::TlObject.

Member Data Documentation

◆ ID

const std::int32_t td::td_api::upgradedGiftSymbol::ID = 744249151
static

Identifier uniquely determining a type of the object.

Definition at line 84556 of file td_api.h.

◆ name_

string td::td_api::upgradedGiftSymbol::name_

Name of the symbol.

Definition at line 84535 of file td_api.h.

◆ rarity_

object_ptr<UpgradedGiftAttributeRarity> td::td_api::upgradedGiftSymbol::rarity_

The rarity of the symbol.

Definition at line 84539 of file td_api.h.

◆ sticker_

object_ptr<sticker> td::td_api::upgradedGiftSymbol::sticker_

The sticker representing the symbol.

Definition at line 84537 of file td_api.h.


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