Package org.drinkless.tdlib
Class TdApi.GetGiftUpgradePreview
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.Function<TdApi.GiftUpgradePreview>
org.drinkless.tdlib.TdApi.GetGiftUpgradePreview
- Enclosing class:
- TdApi
Returns examples of possible upgraded gifts for a regular gift.
Returns GiftUpgradePreview
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.long
Identifier of the gift. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which returns examples of possible upgraded gifts for a regular gift.GetGiftUpgradePreview
(long giftId) Creates a function, which returns examples of possible upgraded gifts for a regular gift. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
Field Details
-
giftId
public long giftIdIdentifier of the gift. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
GetGiftUpgradePreview
public GetGiftUpgradePreview()Default constructor for a function, which returns examples of possible upgraded gifts for a regular gift.Returns
GiftUpgradePreview
-
GetGiftUpgradePreview
public GetGiftUpgradePreview(long giftId) Creates a function, which returns examples of possible upgraded gifts for a regular gift.Returns
GiftUpgradePreview
- Parameters:
giftId
- Identifier of the 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
-