public static class TdApi.InternalLinkTypePremiumGift extends TdApi.InternalLinkType
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
referrer
Referrer specified in the link.
|
| Constructor and Description |
|---|
InternalLinkTypePremiumGift()
The link is a link to the screen for gifting Telegram Premium subscriptions to friends via inputInvoiceTelegram with telegramPaymentPurposePremiumGiftCodes payments or in-store purchases.
|
InternalLinkTypePremiumGift(java.lang.String referrer)
The link is a link to the screen for gifting Telegram Premium subscriptions to friends via inputInvoiceTelegram with telegramPaymentPurposePremiumGiftCodes payments or in-store purchases.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic java.lang.String referrer
public static final int CONSTRUCTOR
public InternalLinkTypePremiumGift()
public InternalLinkTypePremiumGift(java.lang.String referrer)
referrer - Referrer specified in the link.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object