Layer 220
constructor
payments.uniqueStarGift#416c56e8 gift:StarGift chats:Vector<Chat> users:Vector<User> = payments.UniqueStarGift;

Parameters

Name Type Description
Gift StarGift The star Gift Unique constructor.
Chats Vector<Chat> Chats mentioned in the gift field.
Users Vector<User> Users mentioned in the gift field.

Gogram Example

// Creating PaymentsUniqueStarGift constructor
obj := &tg.PaymentsUniqueStarGift{
    Gift: &tg.StarGift{},
    Chats: []tg.Chat{&tg.Chat{}},
    Users: []tg.User{&tg.User{}},
}