#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>
|
| bool | is_restore_ |
| | Pass true if this is a restore of a Telegram Premium purchase; only for App Store.
|
| |
| bool | is_upgrade_ |
| | Pass true if this is an upgrade from a monthly subscription to early subscription; only for App Store.
|
| |
|
| static const std::int32_t | ID = 1263894804 |
| | Identifier uniquely determining a type of the object.
|
| |
The user subscribing to Telegram Premium.
Definition at line 68059 of file td_api.h.
◆ storePaymentPurposePremiumSubscription() [1/2]
| td::td_api::storePaymentPurposePremiumSubscription::storePaymentPurposePremiumSubscription |
( |
| ) |
|
The user subscribing to Telegram Premium.
◆ storePaymentPurposePremiumSubscription() [2/2]
| td::td_api::storePaymentPurposePremiumSubscription::storePaymentPurposePremiumSubscription |
( |
bool |
is_restore_, |
|
|
bool |
is_upgrade_ |
|
) |
| |
The user subscribing to Telegram Premium.
- Parameters
-
| [in] | is_restore_ | Pass true if this is a restore of a Telegram Premium purchase; only for App Store. |
| [in] | is_upgrade_ | Pass true if this is an upgrade from a monthly subscription to early subscription; only for App Store. |
◆ store()
| void td::td_api::storePaymentPurposePremiumSubscription::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::storePaymentPurposePremiumSubscription::ID = 1263894804 |
|
static |
Identifier uniquely determining a type of the object.
Definition at line 68088 of file td_api.h.
◆ is_restore_
| bool td::td_api::storePaymentPurposePremiumSubscription::is_restore_ |
Pass true if this is a restore of a Telegram Premium purchase; only for App Store.
Definition at line 68070 of file td_api.h.
◆ is_upgrade_
| bool td::td_api::storePaymentPurposePremiumSubscription::is_upgrade_ |
Pass true if this is an upgrade from a monthly subscription to early subscription; only for App Store.
Definition at line 68072 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