payments.SavedStarGifts#

class pyrogram.raw.types.payments.SavedStarGifts#

Represents a list of gifts.

Constructor of SavedStarGifts.

Details:
  • Layer: 220

  • ID: 95F389B1

Parameters:
  • count (int 32-bit) – Total number of results (can be less than the returned gifts, in which case next_offset will be set).

  • gifts (List of SavedStarGift) – Gifts

  • chats (List of Chat) – Channels mentioned in gifts

  • users (List of User) – Users mentioned in gifts

  • 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.

  • 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.

payments.GetSavedStarGifts

Fetch the full list of gifts owned by a peer.

payments.GetSavedStarGift

Fetch info about specific gifts owned by a peer we control.