payments.SavedStarGifts¶
- class pyrogram.raw.types.payments.SavedStarGifts[source]¶
Represents a list of gifts.
Constructor of
SavedStarGifts.- Details:
Layer:
229ID:
95F389B1
- Parameters:
count (
int32-bit) – Total number of results (can be less than the returnedgifts, in which casenext_offsetwill be set).gifts (List of
SavedStarGift) – Giftschats (List of
Chat) – Channels mentioned ingiftsusers (List of
User) – Users mentioned ingiftschat_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 3 functions.
Fetch the full list of gifts » owned, received or hosted » by a peer.
Fetch info about specific gifts owned by a peer we control.
Obtain owned collectible gifts » of a specific type that can be used for crafting ».