haskell-tdlib-2.1.6.0: Binding to the Telegram Database Library
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Data.UserAuctionBid

Documentation

data UserAuctionBid Source #

Constructors

UserAuctionBid

Describes a bid of the current user in an auction

Fields

  • star_count :: Maybe Int

    The number of Telegram Stars that were put in the bid

  • bid_date :: Maybe Int

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

  • next_bid_star_count :: Maybe Int

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

  • owner_id :: Maybe 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

  • was_returned :: Maybe Bool

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