update_star_gift_collection()

Client.update_star_gift_collection()

Update a star gift collection.

Parameters:
  • chat_id (int | str) – The peer who owns the collection.

  • collection_id (int) – ID of the collection to update.

  • title (str, optional) – New title for the collection.

  • add_gift_ids (List of int, optional) – Saved gift IDs to add to the collection.

  • remove_gift_ids (List of int, optional) – Saved gift IDs to remove from the collection.

  • order (List of int, optional) – New order of saved gift IDs in the collection.

Returns:

StarGiftCollection – The updated collection.