starGiftAuctionStateFinished
Represents a finished auction ».
type tg.StarGiftAuctionStateFinished struct { /* ... */ }
Implements StarGiftAuctionState.
Fields
| Name | Type | Required | Description |
|---|---|---|---|
StartDate | int | yes | UNIX timestamp indicating when the auction started. |
EndDate | int | yes | UNIX timestamp indicating when the auction ended. |
AveragePrice | int64 | yes | Average price of distributed gifts. |
ListedCount | 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. |
FragmentListedCount | int | — | Number of gifts from the auction currently being resold on Fragment. |
FragmentListedURL | 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. |
References
- Official documentation
- Generated Go reference
- TL definition:
starGiftAuctionStateFinished#972dabbf