#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>
|
| 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.
Definition at line 54792 of file td_api.h.
◆ premiumStatePaymentOption() [1/2]
| td::td_api::premiumStatePaymentOption::premiumStatePaymentOption |
( |
| ) |
|
Describes an option for buying or upgrading Telegram Premium for self.
◆ premiumStatePaymentOption() [2/2]
| td::td_api::premiumStatePaymentOption::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.
- Parameters
-
| [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. |
◆ store()
| void td::td_api::premiumStatePaymentOption::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] | s | Storer to which object string representation will be appended. |
| [in] | field_name | Object field_name if applicable. |
Implements td::TlObject.
◆ ID
| const std::int32_t td::td_api::premiumStatePaymentOption::ID = 2097591673 |
|
static |
Identifier uniquely determining a type of the object.
Definition at line 54827 of file td_api.h.
◆ is_current_
| bool td::td_api::premiumStatePaymentOption::is_current_ |
True, if this is the currently used Telegram Premium subscription option.
Definition at line 54805 of file td_api.h.
◆ is_upgrade_
| bool td::td_api::premiumStatePaymentOption::is_upgrade_ |
True, if the payment option can be used to upgrade the existing Telegram Premium subscription.
Definition at line 54807 of file td_api.h.
◆ last_transaction_id_
| string td::td_api::premiumStatePaymentOption::last_transaction_id_ |
Identifier of the last in-store transaction for the currently used option.
Definition at line 54809 of file td_api.h.
◆ payment_option_
Information about the payment option.
Definition at line 54803 of file td_api.h.
The documentation for this class was generated from the following file:
- /home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h