Package org.drinkless.tdlib
Class TdApi.GetGiftsForCrafting
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.Function<TdApi.GiftsForCrafting>
org.drinkless.tdlib.TdApi.GetGiftsForCrafting
- Enclosing class:
TdApi
Returns upgraded gifts of the current user who can be used to craft another gifts.
Returns GiftsForCrafting
-
Nested Class Summary
Nested classes/interfaces inherited from class org.drinkless.tdlib.TdApi.Function
TdApi.Function.Constructors -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.intThe maximum number of gifts to be returned; must be positive and can't be greater than 100.Offset of the first entry to return as received from the previous request; use empty string to get the first chunk of results.longIdentifier of the regular gift that will be used for crafting. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which returns upgraded gifts of the current user who can be used to craft another gifts.GetGiftsForCrafting(long regularGiftId, String offset, int limit) Creates a function, which returns upgraded gifts of the current user who can be used to craft another gifts. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
Field Details
-
regularGiftId
public long regularGiftIdIdentifier of the regular gift that will be used for crafting. -
offset
Offset of the first entry to return as received from the previous request; use empty string to get the first chunk of results. -
limit
public int limitThe maximum number of gifts to be returned; must be positive and can't be greater than 100. For optimal performance, the number of returned objects is chosen by TDLib and can be smaller than the specified limit. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
GetGiftsForCrafting
public GetGiftsForCrafting()Default constructor for a function, which returns upgraded gifts of the current user who can be used to craft another gifts.Returns
GiftsForCrafting -
GetGiftsForCrafting
Creates a function, which returns upgraded gifts of the current user who can be used to craft another gifts.Returns
GiftsForCrafting- Parameters:
regularGiftId- Identifier of the regular gift that will be used for crafting.offset- Offset of the first entry to return as received from the previous request; use empty string to get the first chunk of results.limit- The maximum number of gifts to be returned; must be positive and can't be greater than 100. For optimal performance, the number of returned objects is chosen by TDLib and can be smaller than the specified limit.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Function<TdApi.GiftsForCrafting>- Returns:
- this.CONSTRUCTOR
-