Package org.drinkless.tdlib
Class TdApi.GiftForResale
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.GiftForResale
- Enclosing class:
- TdApi
Describes a gift available for resale.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.The gift.Unique identifier of the received gift for the current user; only for the gifts owned by the current user. -
Constructor Summary
ConstructorsConstructorDescriptionDescribes a gift available for resale.GiftForResale
(TdApi.UpgradedGift gift, String receivedGiftId) Describes a gift available for resale. -
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. -
receivedGiftId
Unique identifier of the received gift for the current user; only for the gifts owned by the current user. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
GiftForResale
public GiftForResale()Describes a gift available for resale. -
GiftForResale
Describes a gift available for resale.- Parameters:
gift
- The gift.receivedGiftId
- Unique identifier of the received gift for the current user; only for the gifts owned by the current user.
-
-
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
-