InternalLinkTypePremiumGiftCode constructor

const InternalLinkTypePremiumGiftCode({
  1. required String code,
  2. dynamic extra,
  3. int? clientId,
})

The link is a link with a Telegram Premium gift code. Call checkPremiumGiftCode with the given code to process the link. If the code is valid and the user wants to apply it, then call applyPremiumGiftCode

Implementation

const InternalLinkTypePremiumGiftCode({
  required this.code,
  this.extra,
  this.clientId,
});