PremiumState constructor

const PremiumState({
  1. required FormattedText state,
  2. required List<PremiumStatePaymentOption> paymentOptions,
  3. required List<PremiumFeaturePromotionAnimation> animations,
  4. dynamic extra,
  5. int? clientId,
})

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

Implementation

const PremiumState({
  required this.state,
  required this.paymentOptions,
  required this.animations,
  this.extra,
  this.clientId,
});