Interface UserAuctionBid

Describes a bid of the current user in an auction.

interface UserAuctionBid {
    @type: "userAuctionBid";
    bid_date: number;
    next_bid_star_count: number;
    owner_id: MessageSender;
    star_count: number;
    was_returned?: boolean;
}

Properties

@type: "userAuctionBid"
bid_date: number

Point in time (Unix timestamp) when the bid was made.

next_bid_star_count: number

The minimum number of Telegram Stars that can be put for the next bid.

owner_id: MessageSender

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.

star_count: number

The number of Telegram Stars that were put in the bid.

was_returned?: boolean

True, if the bid was returned to the user, because it was outbid and can't win anymore.