AuthorizationStateWaitPremiumPurchase¶
The user must buy Telegram Premium as an in-store purchase to log in. Call checkAuthenticationPremiumPurchase and then setAuthenticationPremiumPurchaseTransaction
AuthorizationStateWaitPremiumPurchase(
store_product_id: string,
premium_day_count: int32,
support_email_address: string,
support_email_subject: string
) → AuthorizationState
store_product_id¶
string
Identifier of the store product that must be bought
premium_day_count¶
int32
Duration of the Telegram Premium subscription after the purchase; may be 0 if Telegram Premium subscription will not be granted
support_email_address¶
string
Email address to use for support if the user has issues with Telegram Premium purchase
support_email_subject¶
string
Subject for the email sent to the support email address