Represents a finished auction ».
Constructor schema is available as of layer 220. Switch »
| Name | Type | Description |
|---|---|---|
| flags | # | Flags, see TL conditional fields |
| start_date | int | UNIX timestamp indicating when the auction started. |
| end_date | int | UNIX timestamp indicating when the auction ended. |
| average_price | long | Average price of distributed gifts. |
| listed_count | flags.0?int | 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 | flags.1?int | Number of gifts from the auction currently being resold on Fragment. |
| fragment_listed_url | flags.1?string | Only set if fragment_listed_count is set. If set, when the corresponding element is clicked in graphical clients, this URL should be opened. |
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.