payments.starGiftAuctionState #

Describes a collectible gift auction ».

Layer 223

payments.starGiftAuctionState#6b39f4ec gift:StarGift state:StarGiftAuctionState user_state:StarGiftAuctionUserState timeout:int users:Vector<User> chats:Vector<Chat> = payments.StarGiftAuctionState;

Parameters #

NameTypeDescription
giftStarGiftThe gift currently being distributed in the auction.
stateStarGiftAuctionStateAuction state.
user_stateStarGiftAuctionUserStateAuction state related to the current user (i.e. info about placed bids, won gifts, and so on).
timeoutintRe-invoke the payments.getStarGiftAuctionState method after timeout seconds to keep receiving auction updates, see here » for more info on the full flow.
usersVector<User>Mentioned users
chatsVector<Chat>Mentioned chats

Type #

payments.StarGiftAuctionState

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.

Collectible gift auctions #

New collectible gift releases are distributed through Stars auctions held over several rounds.