Package org.drinkless.tdlib
Class TdApi.AuctionStateFinished
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.AuctionState
org.drinkless.tdlib.TdApi.AuctionStateFinished
- Enclosing class:
- TdApi
Contains information about a finished auction.
-
Field Summary
FieldsModifier and TypeFieldDescriptionintThe number of items that were purchased by the current user on the auction.longAverage price of bought items in Telegram Stars.static final intIdentifier uniquely determining type of the object.intPoint in time (Unix timestamp) when the auction will be ended.intNumber of items from the auction being resold on Fragment.The HTTPS link to the Fragment for the resold items; may be empty if there are no such items being sold on Fragment.intPoint in time (Unix timestamp) when the auction started.intNumber of items from the auction being resold on Telegram. -
Constructor Summary
ConstructorsConstructorDescriptionContains information about a finished auction.AuctionStateFinished(int startDate, int endDate, long averagePrice, int acquiredItemCount, int telegramListedItemCount, int fragmentListedItemCount, String fragmentUrl) Contains information about a finished auction. -
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
-
startDate
public int startDatePoint in time (Unix timestamp) when the auction started. -
endDate
public int endDatePoint in time (Unix timestamp) when the auction will be ended. -
averagePrice
public long averagePriceAverage price of bought items in Telegram Stars. -
acquiredItemCount
public int acquiredItemCountThe number of items that were purchased by the current user on the auction. -
telegramListedItemCount
public int telegramListedItemCountNumber of items from the auction being resold on Telegram. -
fragmentListedItemCount
public int fragmentListedItemCountNumber of items from the auction being resold on Fragment. -
fragmentUrl
The HTTPS link to the Fragment for the resold items; may be empty if there are no such items being sold on Fragment. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
AuctionStateFinished
public AuctionStateFinished()Contains information about a finished auction. -
AuctionStateFinished
public AuctionStateFinished(int startDate, int endDate, long averagePrice, int acquiredItemCount, int telegramListedItemCount, int fragmentListedItemCount, String fragmentUrl) Contains information about a finished auction.- Parameters:
startDate- Point in time (Unix timestamp) when the auction started.endDate- Point in time (Unix timestamp) when the auction will be ended.averagePrice- Average price of bought items in Telegram Stars.acquiredItemCount- The number of items that were purchased by the current user on the auction.telegramListedItemCount- Number of items from the auction being resold on Telegram.fragmentListedItemCount- Number of items from the auction being resold on Fragment.fragmentUrl- The HTTPS link to the Fragment for the resold items; may be empty if there are no such items being sold on Fragment.
-
-
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
-