Package org.drinkless.tdlib
Class TdApi.AuctionStateActive
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.AuctionState
org.drinkless.tdlib.TdApi.AuctionStateActive
- Enclosing class:
- TdApi
Contains information about an ongoing or scheduled auction.
-
Field Summary
FieldsModifier and TypeFieldDescriptionintThe number of items that were purchased by the current user on the auction.A sparse list of bids that were made in the auction.static final intIdentifier uniquely determining type of the object.intPoint in time (Unix timestamp) when the current round will end.int1-based number of the current round.intThe number of items that were purchased on the auction by all users.intPoint in time (Unix timestamp) when the auction will be ended.intThe number of items that have to be distributed on the auction.longThe minimum possible bid in the auction in Telegram Stars.Rounds of the auction in which their duration or extension rules are changed.intPoint in time (Unix timestamp) when the auction started or will start.long[]User identifiers of at most 3 users with the biggest bids.intThe total number of rounds.Bid of the current user in the auction; may be null if none. -
Constructor Summary
ConstructorsConstructorDescriptionContains information about an ongoing or scheduled auction.AuctionStateActive(int startDate, int endDate, long minBid, TdApi.AuctionBid[] bidLevels, long[] topBidderUserIds, TdApi.AuctionRound[] rounds, int currentRoundEndDate, int currentRoundNumber, int totalRoundCount, int distributedItemCount, int leftItemCount, int acquiredItemCount, TdApi.UserAuctionBid userBid) Contains information about an ongoing or scheduled 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 or will start. -
endDate
public int endDatePoint in time (Unix timestamp) when the auction will be ended. -
minBid
public long minBidThe minimum possible bid in the auction in Telegram Stars. -
bidLevels
A sparse list of bids that were made in the auction. -
topBidderUserIds
public long[] topBidderUserIdsUser identifiers of at most 3 users with the biggest bids. -
rounds
Rounds of the auction in which their duration or extension rules are changed. -
currentRoundEndDate
public int currentRoundEndDatePoint in time (Unix timestamp) when the current round will end. -
currentRoundNumber
public int currentRoundNumber1-based number of the current round. -
totalRoundCount
public int totalRoundCountThe total number of rounds. -
distributedItemCount
public int distributedItemCountThe number of items that were purchased on the auction by all users. -
leftItemCount
public int leftItemCountThe number of items that have to be distributed on the auction. -
acquiredItemCount
public int acquiredItemCountThe number of items that were purchased by the current user on the auction. -
userBid
Bid of the current user in the auction; may be null if none. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
AuctionStateActive
public AuctionStateActive()Contains information about an ongoing or scheduled auction. -
AuctionStateActive
public AuctionStateActive(int startDate, int endDate, long minBid, TdApi.AuctionBid[] bidLevels, long[] topBidderUserIds, TdApi.AuctionRound[] rounds, int currentRoundEndDate, int currentRoundNumber, int totalRoundCount, int distributedItemCount, int leftItemCount, int acquiredItemCount, TdApi.UserAuctionBid userBid) Contains information about an ongoing or scheduled auction.- Parameters:
startDate- Point in time (Unix timestamp) when the auction started or will start.endDate- Point in time (Unix timestamp) when the auction will be ended.minBid- The minimum possible bid in the auction in Telegram Stars.bidLevels- A sparse list of bids that were made in the auction.topBidderUserIds- User identifiers of at most 3 users with the biggest bids.rounds- Rounds of the auction in which their duration or extension rules are changed.currentRoundEndDate- Point in time (Unix timestamp) when the current round will end.currentRoundNumber- 1-based number of the current round.totalRoundCount- The total number of rounds.distributedItemCount- The number of items that were purchased on the auction by all users.leftItemCount- The number of items that have to be distributed on the auction.acquiredItemCount- The number of items that were purchased by the current user on the auction.userBid- Bid of the current user in the auction; may be null if none.
-
-
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
-