Layer 220
constructor
payments.starGifts#2ed82995 hash:int gifts:Vector<StarGift> chats:Vector<Chat> users:Vector<User> = payments.StarGifts;

Parameters

Name Type Description
Hash int Hash used for caching, for more info click here
Gifts Vector<StarGift> List of available gifts.
Chats Vector<Chat> Chats mentioned in the gifts field.
Users Vector<User> Users mentioned in the gifts field.

Gogram Example

// Creating PaymentsStarGifts constructor
obj := &tg.PaymentsStarGifts{
    Hash: 0,
    Gifts: []tg.StarGift{&tg.StarGift{}},
    Chats: []tg.Chat{&tg.Chat{}},
    Users: []tg.User{&tg.User{}},
}