payments.savedStarGifts
Represents a list of gifts.
type tg.PaymentsSavedStarGifts struct { /* ... */ }
Fields
| Name | Type | Required | Description |
|---|---|---|---|
Count | int | yes | Total number of results (can be less than the returned gifts, in which case next_offset will be set). |
ChatNotificationsEnabled | bool | — | Ternary value: can be not set, set&true, set&false. Can only be set for channels we own: the value indicates whether we enabled gift notifications for this channel. |
Gifts | []SavedStarGift | yes | Gifts |
NextOffset | string | — | Offset to pass to payments.getSavedStarGifts to fetch the next page of results. |
Chats | []ChatClass | yes | Channels mentioned in gifts |
Users | []UserClass | yes | Users mentioned in gifts |
Returned by
References
- Official documentation
- Generated Go reference
- TL definition:
payments.savedStarGifts#95f389b1