Package org.drinkless.tdlib
Class TdApi.GiftAuction
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.GiftAuction
- Enclosing class:
- TdApi
Describes an auction on which a gift can be purchased.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.intNumber of gifts distributed in each round.Identifier of the auction.intPoint in time (Unix timestamp) when the auction will start. -
Constructor Summary
ConstructorsConstructorDescriptionDescribes an auction on which a gift can be purchased.GiftAuction(String id, int giftsPerRound, int startDate) Describes an auction on which a 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
-
id
Identifier of the auction. -
giftsPerRound
public int giftsPerRoundNumber of gifts distributed in each round. -
startDate
public int startDatePoint in time (Unix timestamp) when the auction will start. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
GiftAuction
public GiftAuction()Describes an auction on which a gift can be purchased. -
GiftAuction
Describes an auction on which a gift can be purchased.- Parameters:
id- Identifier of the auction.giftsPerRound- Number of gifts distributed in each round.startDate- Point in time (Unix timestamp) when the auction will start.
-
-
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
-