Skip to main content

starGiftAuctionStateFinished

Represents a finished auction ».

type tg.StarGiftAuctionStateFinished struct { /* ... */ }

Implements StarGiftAuctionState.

Fields​

NameTypeRequiredDescription
StartDateintyesUNIX timestamp indicating when the auction started.
EndDateintyesUNIX timestamp indicating when the auction ended.
AveragePriceint64yesAverage price of distributed gifts.
ListedCountint—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.
FragmentListedCountint—Number of gifts from the auction currently being resold on Fragment.
FragmentListedURLstring—Only set if fragment_listed_count is set. If set, when the corresponding element is clicked in graphical clients, this URL should be opened.

References​