public static class TdApi.PushMessageContentPremiumGiftCode extends TdApi.PushMessageContent
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
monthCount
Number of months the Telegram Premium subscription will be active after code activation.
|
| Constructor and Description |
|---|
PushMessageContentPremiumGiftCode()
A message with a Telegram Premium gift code created for the user.
|
PushMessageContentPremiumGiftCode(int monthCount)
A message with a Telegram Premium gift code created for the user.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic int monthCount
public static final int CONSTRUCTOR
public PushMessageContentPremiumGiftCode()
public PushMessageContentPremiumGiftCode(int monthCount)
monthCount - Number of months the Telegram Premium subscription will be active after code activation.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object