#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>
|
| static const std::int32_t | ID = 1588959934 |
| | Identifier uniquely determining a type of the object.
|
| |
Checks whether an in-store purchase of Telegram Premium is possible before authorization. Works only when the current authorization state is authorizationStateWaitPremiumPurchase.
Returns object_ptr<Ok>.
Definition at line 91191 of file td_api.h.
◆ ReturnType
Typedef for the type returned by the function.
Definition at line 91227 of file td_api.h.
◆ checkAuthenticationPremiumPurchase() [1/2]
| td::td_api::checkAuthenticationPremiumPurchase::checkAuthenticationPremiumPurchase |
( |
| ) |
|
Default constructor for a function, which checks whether an in-store purchase of Telegram Premium is possible before authorization. Works only when the current authorization state is authorizationStateWaitPremiumPurchase.
Returns object_ptr<Ok>.
◆ checkAuthenticationPremiumPurchase() [2/2]
| td::td_api::checkAuthenticationPremiumPurchase::checkAuthenticationPremiumPurchase |
( |
string const & |
currency_, |
|
|
int53 |
amount_ |
|
) |
| |
Creates a function, which checks whether an in-store purchase of Telegram Premium is possible before authorization. Works only when the current authorization state is authorizationStateWaitPremiumPurchase.
Returns object_ptr<Ok>.
- Parameters
-
| [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::checkAuthenticationPremiumPurchase::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::checkAuthenticationPremiumPurchase::amount_ |
Paid amount, in the smallest units of the currency.
Definition at line 91204 of file td_api.h.
◆ currency_
| string td::td_api::checkAuthenticationPremiumPurchase::currency_ |
ISO 4217 currency code of the payment currency.
Definition at line 91202 of file td_api.h.
◆ ID
| const std::int32_t td::td_api::checkAuthenticationPremiumPurchase::ID = 1588959934 |
|
static |
Identifier uniquely determining a type of the object.
Definition at line 91224 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