payments.SavedStarGifts#
- class pyrogram.raw.types.payments.SavedStarGifts#
Represents a list of gifts.
Constructor of
SavedStarGifts.- Details:
Layer:
220ID:
95F389B1
- Parameters:
count (
int32-bit) – Total number of results (can be less than the returned gifts, in which case next_offset will be set).gifts (List of
SavedStarGift) – Giftschats (List of
Chat) – Channels mentioned in giftsusers (List of
User) – Users mentioned in giftschat_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.next_offset (
str, optional) – Offset to pass to payments.getSavedStarGifts to fetch the next page of results.
- Functions:
This object can be returned by 2 functions.
Fetch the full list of gifts owned by a peer.
Fetch info about specific gifts owned by a peer we control.