Constructor: payments.savedStarGifts
Represents a list of gifts.
Attributes:
| 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). |
| chat_notifications_enabled | Bool | Optional | 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 | Array of SavedStarGift | Yes | Gifts |
| next_offset | string | Optional | Offset to pass to payments.getSavedStarGifts to fetch the next page of results. |
| chats | Array of Chat | Yes | Channels mentioned in gifts |
| users | Array of User | Yes | Users mentioned in gifts |
Type: payments.SavedStarGifts
Example:
$payments_savedStarGifts = ['_' => 'payments.savedStarGifts', 'count' => int, 'chat_notifications_enabled' => Bool, 'gifts' => [SavedStarGift, SavedStarGift], 'next_offset' => 'string', 'chats' => [Chat, Chat], 'users' => [User, User]];