Package org.drinkless.tdlib
Class TdApi.GiftPurchaseLimits
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.GiftPurchaseLimits
- Enclosing class:
- TdApi
Describes the maximum number of times that a specific gift can be purchased.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.intNumber of remaining times the gift can be purchased.intThe maximum number of times the gifts can be purchased. -
Constructor Summary
ConstructorsConstructorDescriptionDescribes the maximum number of times that a specific gift can be purchased.GiftPurchaseLimits(int totalCount, int remainingCount) Describes the maximum number of times that a specific gift can be purchased. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
totalCount
public int totalCountThe maximum number of times the gifts can be purchased. -
remainingCount
public int remainingCountNumber of remaining times the gift can be purchased. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
GiftPurchaseLimits
public GiftPurchaseLimits()Describes the maximum number of times that a specific gift can be purchased. -
GiftPurchaseLimits
public GiftPurchaseLimits(int totalCount, int remainingCount) Describes the maximum number of times that a specific gift can be purchased.- Parameters:
totalCount- The maximum number of times the gifts can be purchased.remainingCount- Number of remaining times the gift can be purchased.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-