Interface PremiumStatePaymentOption

Describes an option for buying or upgrading Telegram Premium for self.

interface PremiumStatePaymentOption {
    @type: "premiumStatePaymentOption";
    is_current?: boolean;
    is_upgrade?: boolean;
    last_transaction_id: string;
    payment_option: PremiumPaymentOption;
}

Properties

@type: "premiumStatePaymentOption"
is_current?: boolean

True, if this is the currently used Telegram Premium subscription option.

is_upgrade?: boolean

True, if the payment option can be used to upgrade the existing Telegram Premium subscription.

last_transaction_id: string

Identifier of the last in-store transaction for the currently used option.

payment_option: PremiumPaymentOption

Information about the payment option.