Package org.drinkless.tdlib
Class TdApi.DropGiftOriginalDetails
- Enclosing class:
- TdApi
Drops original details for an upgraded gift.
Returns Ok
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.Identifier of the gift.longThe amount of Telegram Stars required to pay for the operation. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which drops original details for an upgraded gift.DropGiftOriginalDetails(String receivedGiftId, long starCount) Creates a function, which drops original details for an upgraded gift. -
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
-
receivedGiftId
Identifier of the gift. -
starCount
public long starCountThe amount of Telegram Stars required to pay for the operation. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
DropGiftOriginalDetails
public DropGiftOriginalDetails()Default constructor for a function, which drops original details for an upgraded gift.Returns
Ok -
DropGiftOriginalDetails
Creates a function, which drops original details for an upgraded gift.Returns
Ok- Parameters:
receivedGiftId- Identifier of the gift.starCount- The amount of Telegram Stars required to pay for the operation.
-
-
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
-