Interface InternalLinkTypePremiumGiftCode

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. Subtype of InternalLinkType.

interface InternalLinkTypePremiumGiftCode {
    @type: "internalLinkTypePremiumGiftCode";
    code: string;
}

Properties

Properties

@type: "internalLinkTypePremiumGiftCode"
code: string

The Telegram Premium gift code.