Inherits TonTransactionType.
The transaction is a purchase of an upgraded gift for some user or channel; for regular users only.
Public Fields | |
int53 | user_id_ |
Identifier of the user that sold the gift. | |
object_ptr< upgradedGift > | gift_ |
The gift. | |
Public Instance Methods | |
tonTransactionTypeUpgradedGiftPurchase () | |
tonTransactionTypeUpgradedGiftPurchase (int53 user_id_, object_ptr< upgradedGift > &&gift_) | |
void | store (TlStorerToString &s, const char *field_name) const final |
![]() | |
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 = -2007364707 |
Identifier uniquely determining a type of the object. | |
The transaction is a purchase of an upgraded gift for some user or channel; for regular users only.
tonTransactionTypeUpgradedGiftPurchase | ( | int53 | user_id_, |
object_ptr< upgradedGift > && | gift_ | ||
) |
The transaction is a purchase of an upgraded gift for some user or channel; for regular users only.
[in] | user_id_ | Identifier of the user that sold the gift. |
[in] | gift_ | The gift. |
|
finalvirtual |