Package org.drinkless.tdlib
Class TdApi.AvailableGift
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.AvailableGift
- Enclosing class:
- TdApi
Describes a gift that is available for purchase.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.The gift.long
The minimum price for the gifts available for resale; 0 if there are no such gifts.int
Number of gifts that are available for resale.The title of the upgraded gift; empty if the gift isn't available for resale. -
Constructor Summary
ConstructorsConstructorDescriptionDescribes a gift that is available for purchase.AvailableGift
(TdApi.Gift gift, int resaleCount, long minResaleStarCount, String title) Describes a gift that is available for purchase. -
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
-
gift
The gift. -
resaleCount
public int resaleCountNumber of gifts that are available for resale. -
minResaleStarCount
public long minResaleStarCountThe minimum price for the gifts available for resale; 0 if there are no such gifts. -
title
The title of the upgraded gift; empty if the gift isn't available for resale. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
AvailableGift
public AvailableGift()Describes a gift that is available for purchase. -
AvailableGift
Describes a gift that is available for purchase.- Parameters:
gift
- The gift.resaleCount
- Number of gifts that are available for resale.minResaleStarCount
- The minimum price for the gifts available for resale; 0 if there are no such gifts.title
- The title of the upgraded gift; empty if the gift isn't available for resale.
-
-
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
-