starGiftAuctionStateFinished #

Represents a finished auction ».

Layer 223

starGiftAuctionStateFinished#972dabbf flags:# start_date:int end_date:int average_price:long listed_count:flags.0?int fragment_listed_count:flags.1?int fragment_listed_url:flags.1?string = StarGiftAuctionState;

Parameters #

NameTypeDescription
flags#Flags, see TL conditional fields
start_dateintUNIX timestamp indicating when the auction started.
end_dateintUNIX timestamp indicating when the auction ended.
average_pricelongAverage price of distributed gifts.
listed_countflags.0?intNumber 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_countflags.1?intNumber of gifts from the auction currently being resold on Fragment.
fragment_listed_urlflags.1?stringOnly set if fragment_listed_count is set. If set, when the corresponding element is clicked in graphical clients, this URL should be opened.

Type #

StarGiftAuctionState

payments.getResaleStarGifts #

Get collectible gifts of a specific type currently on resale, see here » for more info.

sort_by_price and sort_by_num are mutually exclusive, if neither are set results are sorted by the unixtime (descending) when their resell price was last changed.

See here » for detailed documentation on this method.

Collectible gift auctions #

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