Interface AuthorizationStateWaitPremiumPurchase

The user must buy Telegram Premium as an in-store purchase to log in. Call checkAuthenticationPremiumPurchase and then setAuthenticationPremiumPurchaseTransaction. Subtype of AuthorizationState.

interface AuthorizationStateWaitPremiumPurchase {
    @type: "authorizationStateWaitPremiumPurchase";
    premium_day_count: number;
    store_product_id: string;
    support_email_address: string;
    support_email_subject: string;
}

Properties

@type: "authorizationStateWaitPremiumPurchase"
premium_day_count: number

Duration of the Telegram Premium subscription after the purchase; may be 0 if a Telegram Premium subscription will not be granted.

store_product_id: string

Identifier of the store product that must be bought.

support_email_address: string

Email address to use for support if the user has issues with the Telegram Premium purchase.

support_email_subject: string

Subject for the email sent to the support email address.