PremiumFeatures constructor

const PremiumFeatures({
  1. required List<PremiumFeature> features,
  2. required List<PremiumLimit> limits,
  3. InternalLinkType? paymentLink,
  4. dynamic extra,
  5. int? clientId,
})

PremiumFeatures (premiumFeatures) - basic class

Contains information about features, available to Premium users.

  • features: The list of available features.
  • limits: The list of limits, increased for Premium users.
  • paymentLink: An internal link to be opened to pay for Telegram Premium if store payment isn't possible; may be null if direct payment isn't available (optional).

Implementation

const PremiumFeatures({
  required this.features,
  required this.limits,
  this.paymentLink,
  this.extra,
  this.clientId,
});