Inherits Object.
Describes an upgraded gift that can be gifted to another user or transferred to TON blockchain as an NFT.
Public Fields | |
int64 | id_ |
Unique identifier of the gift. | |
string | title_ |
The title of the upgraded gift. | |
int32 | number_ |
Unique number of the upgraded gift among gifts upgraded from the same gift. | |
int32 | total_upgraded_count_ |
Total number of gifts that were upgraded from the same gift. | |
int32 | max_upgraded_count_ |
The maximum number of gifts that can be upgraded from the same gift. | |
int53 | owner_user_id_ |
User identifier of the user that owns the upgraded gift; 0 if none. | |
object_ptr< upgradedGiftModel > | model_ |
Model of the upgraded gift. | |
object_ptr< upgradedGiftSymbol > | symbol_ |
Symbol of the upgraded gift. | |
object_ptr< upgradedGiftBackdrop > | backdrop_ |
Backdrop of the upgraded gift. | |
object_ptr< upgradedGiftOriginalDetails > | original_details_ |
Information about the originally sent gift; may be null if unknown. | |
Public Instance Methods | |
upgradedGift () | |
upgradedGift (int64 id_, string const &title_, int32 number_, int32 total_upgraded_count_, int32 max_upgraded_count_, int53 owner_user_id_, object_ptr< upgradedGiftModel > &&model_, object_ptr< upgradedGiftSymbol > &&symbol_, object_ptr< upgradedGiftBackdrop > &&backdrop_, object_ptr< upgradedGiftOriginalDetails > &&original_details_) | |
void | store (TlStorerToString &s, const char *field_name) const final |
Public Instance Methods inherited from TlObject | |
virtual void | store (TlStorerUnsafe &s) const |
virtual void | store (TlStorerCalcLength &s) const |
TlObject ()=default | |
TlObject (const TlObject &)=delete | |
TlObject & | operator= (const TlObject &)=delete |
TlObject (TlObject &&)=default | |
TlObject & | operator= (TlObject &&)=default |
virtual | ~TlObject ()=default |
Static Public Attributes | |
static const std::int32_t | ID = -436924776 |
Identifier uniquely determining a type of the object. | |
upgradedGift | ( | ) |
Describes an upgraded gift that can be gifted to another user or transferred to TON blockchain as an NFT.
upgradedGift | ( | int64 | id_, |
string const & | title_, | ||
int32 | number_, | ||
int32 | total_upgraded_count_, | ||
int32 | max_upgraded_count_, | ||
int53 | owner_user_id_, | ||
object_ptr< upgradedGiftModel > && | model_, | ||
object_ptr< upgradedGiftSymbol > && | symbol_, | ||
object_ptr< upgradedGiftBackdrop > && | backdrop_, | ||
object_ptr< upgradedGiftOriginalDetails > && | original_details_ | ||
) |
Describes an upgraded gift that can be gifted to another user or transferred to TON blockchain as an NFT.
[in] | id_ | Unique identifier of the gift. |
[in] | title_ | The title of the upgraded gift. |
[in] | number_ | Unique number of the upgraded gift among gifts upgraded from the same gift. |
[in] | total_upgraded_count_ | Total number of gifts that were upgraded from the same gift. |
[in] | max_upgraded_count_ | The maximum number of gifts that can be upgraded from the same gift. |
[in] | owner_user_id_ | User identifier of the user that owns the upgraded gift; 0 if none. |
[in] | model_ | Model of the upgraded gift. |
[in] | symbol_ | Symbol of the upgraded gift. |
[in] | backdrop_ | Backdrop of the upgraded gift. |
[in] | original_details_ | Information about the originally sent gift; may be null if unknown. |
|
finalvirtual |