Package org.drinkless.tdlib
Class TdApi.CraftGift
- Enclosing class:
TdApi
Crafts a new gift from other gifts that will be permanently lost.
Returns CraftGiftResult
-
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.String[]Identifier of the gifts to use for crafting. -
Constructor Summary
Constructors -
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
-
receivedGiftIds
Identifier of the gifts to use for crafting. In the case of a successful craft, the resulting gift will have the number of the first gift. Consequently, the first gift must not have been withdrawn to the TON blockchain as an NFT and must have an empty giftAddress. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
CraftGift
public CraftGift()Default constructor for a function, which crafts a new gift from other gifts that will be permanently lost.Returns
CraftGiftResult -
CraftGift
Creates a function, which crafts a new gift from other gifts that will be permanently lost.Returns
CraftGiftResult- Parameters:
receivedGiftIds- Identifier of the gifts to use for crafting. In the case of a successful craft, the resulting gift will have the number of the first gift. Consequently, the first gift must not have been withdrawn to the TON blockchain as an NFT and must have an empty giftAddress.
-
-
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.CraftGiftResult>- Returns:
- this.CONSTRUCTOR
-