create_star_gift_collection()

Client.create_star_gift_collection()

Create a new star gift collection.

Parameters:
  • chat_id (int | str) – The peer who owns the collection (yourself or a channel you manage).

  • title (str) – Title of the new collection.

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

Returns:

StarGiftCollection – The created collection.

Example

col = await app.create_star_gift_collection("me", "My Favorites")