Interface PremiumState

Contains state of Telegram Premium subscription and promotion videos for Premium features.

interface PremiumState {
    @type: "premiumState";
    animations: PremiumFeaturePromotionAnimation[];
    business_animations: BusinessFeaturePromotionAnimation[];
    payment_options: PremiumStatePaymentOption[];
    state: FormattedText;
}

Properties

@type: "premiumState"

The list of available promotion animations for Premium features.

business_animations: BusinessFeaturePromotionAnimation[]

The list of available promotion animations for Business features.

payment_options: PremiumStatePaymentOption[]

The list of available options for buying Telegram Premium.

Text description of the state of the current Premium subscription; may be empty if the current user has no Telegram Premium subscription.