payments.StarGiftAuctionState#

class pyrogram.raw.types.payments.StarGiftAuctionState#

Describes a collectible gift auction.

Constructor of StarGiftAuctionState.

Details:
  • Layer: 225

  • ID: 6B39F4EC

Parameters:
  • gift (StarGift) – The gift currently being distributed in the auction.

  • state (StarGiftAuctionState) – Auction state.

  • user_state (StarGiftAuctionUserState) – Auction state related to the current user (i.e. info about placed bids, won gifts, and so on).

  • timeout (int 32-bit) – Re-invoke the payments.getStarGiftAuctionState method after timeout seconds to keep receiving auction updates, see here » for more info on the full flow.

  • users (List of User) – Mentioned users

  • chats (List of Chat) – Mentioned chats

Functions:

This object can be returned by 1 function.

payments.GetStarGiftAuctionState

Returns info about a collectible gift auction; also subscribes the user to auction updates, see here for more info on the full flow.