Inherits AuthorizationState.
The user must buy Telegram Premium as an in-store purchase to log in. Call checkAuthenticationPremiumPurchase and then setAuthenticationPremiumPurchaseTransaction.
|
|
int32 | premium_day_count_ |
| | Duration of the Telegram Premium subscription after the purchase; may be 0 if Telegram Premium subscription will not be granted.
|
| |
|
string | store_product_id_ |
| | Identifier of the store product that must be bought.
|
| |
|
string | support_email_address_ |
| | Email address to use for support if the user has issues with Telegram Premium purchase.
|
| |
|
string | support_email_subject_ |
| | Subject for the email sent to the support email address.
|
| |
|
|
static const std::int32_t | ID = -1192878334 |
| | Identifier uniquely determining a type of the object.
|
| |
◆ authorizationStateWaitPremiumPurchase() [1/2]
◆ authorizationStateWaitPremiumPurchase() [2/2]
The user must buy Telegram Premium as an in-store purchase to log in. Call checkAuthenticationPremiumPurchase and then setAuthenticationPremiumPurchaseTransaction.
- Parameters
-
| [in] | store_product_id_ | Identifier of the store product that must be bought. |
| [in] | premium_day_count_ | Duration of the Telegram Premium subscription after the purchase; may be 0 if Telegram Premium subscription will not be granted. |
| [in] | support_email_address_ | Email address to use for support if the user has issues with Telegram Premium purchase. |
| [in] | support_email_subject_ | Subject for the email sent to the support email address. |
◆ store()
| void 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 TlObject.
The documentation for this class was generated from the following file: