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

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

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

Public Member Functions

 giftUpgradePreview ()
 
 giftUpgradePreview (array< object_ptr< upgradedGiftModel > > &&models_, array< object_ptr< upgradedGiftSymbol > > &&symbols_, array< object_ptr< upgradedGiftBackdrop > > &&backdrops_, array< object_ptr< giftUpgradePrice > > &&prices_, array< object_ptr< giftUpgradePrice > > &&next_prices_)
 
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

array< object_ptr< upgradedGiftModel > > models_
 Examples of possible models that can be chosen for the gift after upgrade.
 
array< object_ptr< upgradedGiftSymbol > > symbols_
 Examples of possible symbols that can be chosen for the gift after upgrade.
 
array< object_ptr< upgradedGiftBackdrop > > backdrops_
 Examples of possible backdrops that can be chosen for the gift after upgrade.
 
array< object_ptr< giftUpgradePrice > > prices_
 Examples of price for gift upgrade from the maximum price to the minimum price.
 
array< object_ptr< giftUpgradePrice > > next_prices_
 Next changes for the price for gift upgrade with more granularity than in prices.
 

Static Public Attributes

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

Detailed Description

Contains examples of possible upgraded gifts for the given regular gift.

Definition at line 23891 of file td_api.h.

Constructor & Destructor Documentation

◆ giftUpgradePreview() [1/2]

td::td_api::giftUpgradePreview::giftUpgradePreview ( )

Contains examples of possible upgraded gifts for the given regular gift.

◆ giftUpgradePreview() [2/2]

td::td_api::giftUpgradePreview::giftUpgradePreview ( array< object_ptr< upgradedGiftModel > > &&  models_,
array< object_ptr< upgradedGiftSymbol > > &&  symbols_,
array< object_ptr< upgradedGiftBackdrop > > &&  backdrops_,
array< object_ptr< giftUpgradePrice > > &&  prices_,
array< object_ptr< giftUpgradePrice > > &&  next_prices_ 
)

Contains examples of possible upgraded gifts for the given regular gift.

Parameters
[in]models_Examples of possible models that can be chosen for the gift after upgrade.
[in]symbols_Examples of possible symbols that can be chosen for the gift after upgrade.
[in]backdrops_Examples of possible backdrops that can be chosen for the gift after upgrade.
[in]prices_Examples of price for gift upgrade from the maximum price to the minimum price.
[in]next_prices_Next changes for the price for gift upgrade with more granularity than in prices.

Member Function Documentation

◆ store()

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

◆ backdrops_

array<object_ptr<upgradedGiftBackdrop> > td::td_api::giftUpgradePreview::backdrops_

Examples of possible backdrops that can be chosen for the gift after upgrade.

Definition at line 23906 of file td_api.h.

◆ ID

const std::int32_t td::td_api::giftUpgradePreview::ID = -330012073
static

Identifier uniquely determining a type of the object.

Definition at line 23929 of file td_api.h.

◆ models_

array<object_ptr<upgradedGiftModel> > td::td_api::giftUpgradePreview::models_

Examples of possible models that can be chosen for the gift after upgrade.

Definition at line 23902 of file td_api.h.

◆ next_prices_

array<object_ptr<giftUpgradePrice> > td::td_api::giftUpgradePreview::next_prices_

Next changes for the price for gift upgrade with more granularity than in prices.

Definition at line 23910 of file td_api.h.

◆ prices_

array<object_ptr<giftUpgradePrice> > td::td_api::giftUpgradePreview::prices_

Examples of price for gift upgrade from the maximum price to the minimum price.

Definition at line 23908 of file td_api.h.

◆ symbols_

array<object_ptr<upgradedGiftSymbol> > td::td_api::giftUpgradePreview::symbols_

Examples of possible symbols that can be chosen for the gift after upgrade.

Definition at line 23904 of file td_api.h.


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