Inherits Object.
Describes an option for buying or upgrading Telegram Premium for self.
Public Fields | |
| object_ptr< premiumPaymentOption > | payment_option_ |
| Information about the payment option. | |
| bool | is_current_ |
| True, if this is the currently used Telegram Premium subscription option. | |
| bool | is_upgrade_ |
| True, if the payment option can be used to upgrade the existing Telegram Premium subscription. | |
| string | last_transaction_id_ |
| Identifier of the last in-store transaction for the currently used option. | |
Public Instance Methods | |
| premiumStatePaymentOption () | |
| premiumStatePaymentOption (object_ptr< premiumPaymentOption > &&payment_option_, bool is_current_, bool is_upgrade_, string const &last_transaction_id_) | |
| 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 = 2097591673 |
| Identifier uniquely determining a type of the object. | |
Describes an option for buying or upgrading Telegram Premium for self.
| premiumStatePaymentOption | ( | object_ptr< premiumPaymentOption > && | payment_option_, |
| bool | is_current_, | ||
| bool | is_upgrade_, | ||
| string const & | last_transaction_id_ | ||
| ) |
Describes an option for buying or upgrading Telegram Premium for self.
| [in] | payment_option_ | Information about the payment option. |
| [in] | is_current_ | True, if this is the currently used Telegram Premium subscription option. |
| [in] | is_upgrade_ | True, if the payment option can be used to upgrade the existing Telegram Premium subscription. |
| [in] | last_transaction_id_ | Identifier of the last in-store transaction for the currently used option. |
|
finalvirtual |