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

Inherits Object.

Description

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

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 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

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

Static Public Attributes

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

Constructor & Destructor Documentation

◆ giftUpgradePreview() [1/2]

giftUpgradePreview ( )

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

◆ giftUpgradePreview() [2/2]

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 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: