Layer 227
constructor
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

Name Type Description
StartDate int UNIX timestamp indicating when the auction started.
EndDate int UNIX timestamp indicating when the auction ended.
AveragePrice long Average price of distributed gifts.
ListedCount 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. get Resale Star Gifts should be invoked with the ID of the gift associated to this auction, see here for more info.
FragmentListedCount flags .1? int Number of gifts from the auction currently being resold on Fragment.
FragmentListedUrl 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.

Gogram Example

// Creating StarGiftAuctionStateFinished constructor
obj := &tg.StarGiftAuctionStateFinished{
    StartDate: 42,
    EndDate: 42,
    AveragePrice: int64(1234567890),
    ListedCount: nil,
    FragmentListedCount: nil,
    FragmentListedUrl: "Hello, World!",
}