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::upgradedGiftBackdrop Class Referencefinal

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

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

Public Member Functions

 upgradedGiftBackdrop ()
 
 upgradedGiftBackdrop (int32 id_, string const &name_, object_ptr< upgradedGiftBackdropColors > &&colors_, 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

int32 id_
 Unique identifier of the backdrop.
 
string name_
 Name of the backdrop.
 
object_ptr< upgradedGiftBackdropColorscolors_
 Colors of the backdrop.
 
object_ptr< UpgradedGiftAttributeRarityrarity_
 The rarity of the backdrop.
 

Static Public Attributes

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

Detailed Description

Describes a backdrop of an upgraded gift.

Definition at line 83928 of file td_api.h.

Constructor & Destructor Documentation

◆ upgradedGiftBackdrop() [1/2]

td::td_api::upgradedGiftBackdrop::upgradedGiftBackdrop ( )

Describes a backdrop of an upgraded gift.

◆ upgradedGiftBackdrop() [2/2]

td::td_api::upgradedGiftBackdrop::upgradedGiftBackdrop ( int32  id_,
string const &  name_,
object_ptr< upgradedGiftBackdropColors > &&  colors_,
object_ptr< UpgradedGiftAttributeRarity > &&  rarity_ 
)

Describes a backdrop of an upgraded gift.

Parameters
[in]id_Unique identifier of the backdrop.
[in]name_Name of the backdrop.
[in]colors_Colors of the backdrop.
[in]rarity_The rarity of the backdrop.

Member Function Documentation

◆ store()

void td::td_api::upgradedGiftBackdrop::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

◆ colors_

object_ptr<upgradedGiftBackdropColors> td::td_api::upgradedGiftBackdrop::colors_

Colors of the backdrop.

Definition at line 83943 of file td_api.h.

◆ ID

const std::int32_t td::td_api::upgradedGiftBackdrop::ID = -775752215
static

Identifier uniquely determining a type of the object.

Definition at line 83963 of file td_api.h.

◆ id_

int32 td::td_api::upgradedGiftBackdrop::id_

Unique identifier of the backdrop.

Definition at line 83939 of file td_api.h.

◆ name_

string td::td_api::upgradedGiftBackdrop::name_

Name of the backdrop.

Definition at line 83941 of file td_api.h.

◆ rarity_

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

The rarity of the backdrop.

Definition at line 83945 of file td_api.h.


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