payments.GetStarGiftCollections#

class pyrogram.raw.functions.payments.GetStarGiftCollections#

Fetches all star gift collections of a peer.

Details:
  • Layer: 220

  • ID: 981B91DD

Parameters:
  • peer (InputPeer) – The peer.

  • hash (int 64-bit) – Hash (generated as specified here ») using the starGiftCollection.hash field (not the collection_id field) of all collections returned by a previous method call, to avoid refetching the result if it hasn’t changed.

Returns:

payments.StarGiftCollections