payments.UpdateStarGiftCollection#

class pyrogram.raw.functions.payments.UpdateStarGiftCollection#

Add or remove gifts from a star gift collection , or rename the collection.

Details:
  • Layer: 220

  • ID: 4FDDBEE7

Parameters:
  • peer (InputPeer) – Peer that owns the collection.

  • collection_id (int 32-bit) – Collection ID.

  • title (str, optional) – Title of the collection, to rename the collection.

  • delete_stargift (List of InputSavedStarGift, optional) – Can contain a list of gifts to remove from the collection.

  • add_stargift (List of InputSavedStarGift, optional) – Can contain a list of gifts to add to the collection.

  • order (List of InputSavedStarGift, optional) – Can contain the new gift order.

Returns:

StarGiftCollection