#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>
|
| static const std::int32_t | ID = -450986887 |
| | Identifier uniquely determining a type of the object.
|
| |
Informs server about an in-store purchase of Telegram Premium before authorization. Works only when the current authorization state is authorizationStateWaitPremiumPurchase.
Returns object_ptr<Ok>.
Definition at line 127396 of file td_api.h.
◆ ReturnType
Typedef for the type returned by the function.
Definition at line 127438 of file td_api.h.
◆ setAuthenticationPremiumPurchaseTransaction() [1/2]
| td::td_api::setAuthenticationPremiumPurchaseTransaction::setAuthenticationPremiumPurchaseTransaction |
( |
| ) |
|
Default constructor for a function, which informs server about an in-store purchase of Telegram Premium before authorization. Works only when the current authorization state is authorizationStateWaitPremiumPurchase.
Returns object_ptr<Ok>.
◆ setAuthenticationPremiumPurchaseTransaction() [2/2]
| td::td_api::setAuthenticationPremiumPurchaseTransaction::setAuthenticationPremiumPurchaseTransaction |
( |
object_ptr< StoreTransaction > && |
transaction_, |
|
|
bool |
is_restore_, |
|
|
string const & |
currency_, |
|
|
int53 |
amount_ |
|
) |
| |
Creates a function, which informs server about an in-store purchase of Telegram Premium before authorization. Works only when the current authorization state is authorizationStateWaitPremiumPurchase.
Returns object_ptr<Ok>.
- Parameters
-
| [in] | transaction_ | Information about the transaction. |
| [in] | is_restore_ | Pass true if this is a restore of a Telegram Premium purchase; only for App Store. |
| [in] | currency_ | ISO 4217 currency code of the payment currency. |
| [in] | amount_ | Paid amount, in the smallest units of the currency. |
◆ store()
| void td::td_api::setAuthenticationPremiumPurchaseTransaction::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.
◆ amount_
| int53 td::td_api::setAuthenticationPremiumPurchaseTransaction::amount_ |
Paid amount, in the smallest units of the currency.
Definition at line 127413 of file td_api.h.
◆ currency_
| string td::td_api::setAuthenticationPremiumPurchaseTransaction::currency_ |
ISO 4217 currency code of the payment currency.
Definition at line 127411 of file td_api.h.
◆ ID
| const std::int32_t td::td_api::setAuthenticationPremiumPurchaseTransaction::ID = -450986887 |
|
static |
Identifier uniquely determining a type of the object.
Definition at line 127435 of file td_api.h.
◆ is_restore_
| bool td::td_api::setAuthenticationPremiumPurchaseTransaction::is_restore_ |
Pass true if this is a restore of a Telegram Premium purchase; only for App Store.
Definition at line 127409 of file td_api.h.
◆ transaction_
Information about the transaction.
Definition at line 127407 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