StarGiftAuctionStateFinished#

class pyrogram.raw.types.StarGiftAuctionStateFinished#

Represents a finished auction.

Constructor of StarGiftAuctionState.

Details:
  • Layer: 225

  • ID: 972DABBF

Parameters:
  • start_date (int 32-bit) – UNIX timestamp indicating when the auction started.

  • end_date (int 32-bit) – UNIX timestamp indicating when the auction ended.

  • average_price (int 64-bit) – Average price of distributed gifts.

  • listed_count (int 32-bit, optional) – Number of gifts from the auction currently being resold on Telegram: if set, when the corresponding element is clicked in graphical clients, payments.getResaleStarGifts should be invoked with the ID of the gift associated to this auction, see here » for more info.

  • fragment_listed_count (int 32-bit, optional) – Number of gifts from the auction currently being resold on Fragment.

  • fragment_listed_url (str, optional) – Only set if fragment_listed_count is set. If set, when the corresponding element is clicked in graphical clients, this URL should be opened.