Interface CheckAuthenticationPremiumPurchase

Checks whether an in-store purchase of Telegram Premium is possible before authorization. Works only when the current authorization state is authorizationStateWaitPremiumPurchase. Request type for Tdjson#checkAuthenticationPremiumPurchase.

interface CheckAuthenticationPremiumPurchase {
    @type: "checkAuthenticationPremiumPurchase";
    amount: number;
    currency: string;
}

Properties

Properties

@type: "checkAuthenticationPremiumPurchase"
amount: number

Paid amount, in the smallest units of the currency.

currency: string

ISO 4217 currency code of the payment currency.