Package org.drinkless.tdlib
Class TdApi.UserAuctionBid
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.UserAuctionBid
- Enclosing class:
- TdApi
Describes a bid of the current user in an auction.
-
Field Summary
FieldsModifier and TypeFieldDescriptionintPoint in time (Unix timestamp) when the bid was made.static final intIdentifier uniquely determining type of the object.longThe minimum number of Telegram Stars that can be put for the next bid.Identifier of the user or the chat that will receive the auctioned item.longThe number of Telegram Stars that were put in the bid.booleanTrue, if the bid was returned to the user, because it was outbid and can't win anymore. -
Constructor Summary
ConstructorsConstructorDescriptionDescribes a bid of the current user in an auction.UserAuctionBid(long starCount, int bidDate, long nextBidStarCount, TdApi.MessageSender ownerId, boolean wasReturned) Describes a bid of the current user in an 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
-
starCount
public long starCountThe number of Telegram Stars that were put in the bid. -
bidDate
public int bidDatePoint in time (Unix timestamp) when the bid was made. -
nextBidStarCount
public long nextBidStarCountThe minimum number of Telegram Stars that can be put for the next bid. -
ownerId
Identifier of the user or the chat that will receive the auctioned item. If the auction is opened in context of another user or chat, then a warning is supposed to be shown to the current user. -
wasReturned
public boolean wasReturnedTrue, if the bid was returned to the user, because it was outbid and can't win anymore. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
UserAuctionBid
public UserAuctionBid()Describes a bid of the current user in an auction. -
UserAuctionBid
public UserAuctionBid(long starCount, int bidDate, long nextBidStarCount, TdApi.MessageSender ownerId, boolean wasReturned) Describes a bid of the current user in an auction.- Parameters:
starCount- The number of Telegram Stars that were put in the bid.bidDate- Point in time (Unix timestamp) when the bid was made.nextBidStarCount- The minimum number of Telegram Stars that can be put for the next bid.ownerId- Identifier of the user or the chat that will receive the auctioned item. If the auction is opened in context of another user or chat, then a warning is supposed to be shown to the current user.wasReturned- True, if the bid was returned to the user, because it was outbid and can't win anymore.
-
-
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
-