Package org.drinkless.tdlib
Class TdApi.PushMessageContentUpgradedGift
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.PushMessageContent
org.drinkless.tdlib.TdApi.PushMessageContentUpgradedGift
- Enclosing class:
- TdApi
A message with an upgraded gift.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.boolean
True, if the gift was obtained by upgrading of a previously received gift; otherwise, this is a transferred or resold gift. -
Constructor Summary
ConstructorsConstructorDescriptionA message with an upgraded gift.PushMessageContentUpgradedGift
(boolean isUpgrade) A message with an upgraded gift. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
isUpgrade
public boolean isUpgradeTrue, if the gift was obtained by upgrading of a previously received gift; otherwise, this is a transferred or resold gift. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
PushMessageContentUpgradedGift
public PushMessageContentUpgradedGift()A message with an upgraded gift. -
PushMessageContentUpgradedGift
public PushMessageContentUpgradedGift(boolean isUpgrade) A message with an upgraded gift.- Parameters:
isUpgrade
- True, if the gift was obtained by upgrading of a previously received gift; otherwise, this is a transferred or resold gift.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-