payments.ResaleStarGifts#

class pyrogram.raw.types.payments.ResaleStarGifts#

List of gifts currently on resale .

Constructor of ResaleStarGifts.

Details:
  • Layer: 220

  • ID: 947A12DF

Parameters:
  • count (int 32-bit) – Total number of results.

  • gifts (List of StarGift) – Collectible gifts on resale (may be less than count, in which case next_offset will be set).

  • chats (List of Chat) – Chats mentioned in the attributes.

  • users (List of User) – Users mentioned in the attributes.

  • next_offset (str, optional) – Offset for pagination, pass this to payments.getResaleStarGifts.offset to fetch the next results.

  • attributes (List of StarGiftAttribute, optional) – Possible gift attributes, only set if payments.getResaleStarGifts.attributes_hash is set (on the first call, it must be equal to 0).

  • attributes_hash (int 64-bit, optional) – Hash of the attributes field, pass this to payments.getResaleStarGifts.attributes_hash to avoid returning any attributes (flag not set) if they haven’t changed.

  • counters (List of StarGiftAttributeCounter, optional) – Indicates the total number of gifts that have a specific attribute, only set if payments.getResaleStarGifts.offset is empty (since this field is not related to the current result page but to all of them, it’s only returned on the first page).

Functions:

This object can be returned by 1 function.

payments.GetResaleStarGifts

Get collectible gifts of a specific type currently on resale, see here for more info.