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

Inherits EmojiStatusType.

Description

An upgraded gift set as emoji status.

Public Member Functions

 emojiStatusTypeUpgradedGift ()
 emojiStatusTypeUpgradedGift (int64 upgraded_gift_id_, string const &gift_title_, string const &gift_name_, int64 model_custom_emoji_id_, int64 symbol_custom_emoji_id_, object_ptr< upgradedGiftBackdropColors > &&backdrop_colors_)
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

object_ptr< upgradedGiftBackdropColors > backdrop_colors_
 Colors of the backdrop of the upgraded gift.
string gift_name_
 Unique name of the upgraded gift that can be used with internalLinkTypeUpgradedGift.
string gift_title_
 The title of the upgraded gift.
int64 model_custom_emoji_id_
 Custom emoji identifier of the model of the upgraded gift.
int64 symbol_custom_emoji_id_
 Custom emoji identifier of the symbol of the upgraded gift.
int64 upgraded_gift_id_
 Identifier of the upgraded gift.

Static Public Attributes

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

Constructor & Destructor Documentation

◆ emojiStatusTypeUpgradedGift() [1/2]

emojiStatusTypeUpgradedGift ( )

An upgraded gift set as emoji status.

◆ emojiStatusTypeUpgradedGift() [2/2]

emojiStatusTypeUpgradedGift ( int64 upgraded_gift_id_,
string const & gift_title_,
string const & gift_name_,
int64 model_custom_emoji_id_,
int64 symbol_custom_emoji_id_,
object_ptr< upgradedGiftBackdropColors > && backdrop_colors_ )

An upgraded gift set as emoji status.

Parameters
[in]upgraded_gift_id_Identifier of the upgraded gift.
[in]gift_title_The title of the upgraded gift.
[in]gift_name_Unique name of the upgraded gift that can be used with internalLinkTypeUpgradedGift.
[in]model_custom_emoji_id_Custom emoji identifier of the model of the upgraded gift.
[in]symbol_custom_emoji_id_Custom emoji identifier of the symbol of the upgraded gift.
[in]backdrop_colors_Colors of the backdrop of the upgraded gift.

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: