Layer 227
PaymentsStarGiftsObj
Available gifts.
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. |
Returns
payments.StarGiftsGogram Example
// Creating PaymentsStarGiftsObj constructor obj := &tg.PaymentsStarGiftsObj{ Hash: 42, Gifts: &tg.VectorStarGift{}, Chats: &tg.VectorChat{}, Users: &tg.VectorUser{}, }