Layer 220
constructor
payments.starGiftAuctionState#6b39f4ec gift:StarGift state:StarGiftAuctionState user_state:StarGiftAuctionUserState timeout:int users:Vector<User> chats:Vector<Chat> = payments.StarGiftAuctionState;

Parameters

Name Type Description
Gift StarGift
State StarGiftAuctionState
UserState StarGiftAuctionUserState
Timeout int
Users Vector<User>
Chats Vector<Chat>

Gogram Example

// Creating PaymentsStarGiftAuctionState constructor
obj := &tg.PaymentsStarGiftAuctionState{
    Gift: &tg.StarGift{},
    State: &tg.StarGiftAuctionState{},
    UserState: &tg.StarGiftAuctionUserState{},
    Timeout: 0,
    Users: []tg.User{&tg.User{}},
    Chats: []tg.Chat{&tg.Chat{}},
}