Inherits StarTransactionType.
The transaction is a purchase of Telegram Premium subscription; for regular users and bots only.
Public Fields | |
| int53 | user_id_ |
| Identifier of the user that received the Telegram Premium subscription. | |
| int32 | month_count_ |
| Number of months the Telegram Premium subscription will be active. | |
| object_ptr< sticker > | sticker_ |
| A sticker to be shown in the transaction information; may be null if unknown. | |
Public Instance Methods | |
| starTransactionTypePremiumPurchase () | |
| starTransactionTypePremiumPurchase (int53 user_id_, int32 month_count_, object_ptr< sticker > &&sticker_) | |
| 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 = 998094851 |
| Identifier uniquely determining a type of the object. | |
The transaction is a purchase of Telegram Premium subscription; for regular users and bots only.
| starTransactionTypePremiumPurchase | ( | int53 | user_id_, |
| int32 | month_count_, | ||
| object_ptr< sticker > && | sticker_ | ||
| ) |
The transaction is a purchase of Telegram Premium subscription; for regular users and bots only.
| [in] | user_id_ | Identifier of the user that received the Telegram Premium subscription. |
| [in] | month_count_ | Number of months the Telegram Premium subscription will be active. |
| [in] | sticker_ | A sticker to be shown in the transaction information; may be null if unknown. |
|
finalvirtual |