Layer 220
PaymentsGetStarGifts
Get a list of available gifts, see here for more info.
method
Users
Bots
payments.getStarGifts#c4563590 hash:int = payments.StarGifts;
Parameters
| Name | Type | Description |
|---|---|---|
| Hash | int | Hash used for caching, for more info click here. The hash may be generated locally by using the id s of the returned or stored sticker star Gift s. |
Returns
payments.StarGiftsGogram Example
// PaymentsGetStarGifts - positional arguments result, err := client.PaymentsGetStarGifts(0) if err != nil { // handle error } // result is *tg.PaymentsStarGifts