|
TDLib
|
Inherits AuthorizationState.
The user must buy Telegram Premium as an in-store purchase to log in. Call checkAuthenticationPremiumPurchase and then setAuthenticationPremiumPurchaseTransaction.
Public Member Functions | |
| authorizationStateWaitPremiumPurchase () | |
| authorizationStateWaitPremiumPurchase (string const &store_product_id_, int32 premium_day_count_, string const &support_email_address_, string const &support_email_subject_) | |
| void | store (TlStorerToString &s, const char *field_name) const final |
| Public Member Functions inherited from TlObject | |
| TlObject & | operator= (const TlObject &)=delete |
| TlObject & | operator= (TlObject &&)=default |
| virtual void | store (TlStorerCalcLength &s) const |
| virtual void | store (TlStorerUnsafe &s) const |
| TlObject ()=default | |
| TlObject (const TlObject &)=delete | |
| TlObject (TlObject &&)=default | |
| virtual | ~TlObject ()=default |
Public Attributes | |
| 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 Public Attributes | |
| static const std::int32_t | ID = -1192878334 |
| Identifier uniquely determining a type of the object. | |
| authorizationStateWaitPremiumPurchase | ( | ) |
The user must buy Telegram Premium as an in-store purchase to log in. Call checkAuthenticationPremiumPurchase and then setAuthenticationPremiumPurchaseTransaction.
| authorizationStateWaitPremiumPurchase | ( | string const & | store_product_id_, |
| int32 | premium_day_count_, | ||
| string const & | support_email_address_, | ||
| string const & | support_email_subject_ ) |
The user must buy Telegram Premium as an in-store purchase to log in. Call checkAuthenticationPremiumPurchase and then setAuthenticationPremiumPurchaseTransaction.
| [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. |
|
finalvirtual |