remove_collection_gifts()

Client.remove_collection_gifts()

Removes gifts from a collection.

Usable by Users Bots
Parameters:
  • owner_id (``int`` | ``str``) – Unique identifier (int) or username (str) of the target chat. For your personal cloud (Saved Messages) you can simply use “me” or “self”.

  • collection_id (``int``) – Identifier of the gift collection.

  • gift_ids (List of ``str``) – Identifier of the gifts to remove from the collection.

Returns:

:obj:`~pyrogram.types.GiftCollection` (On success, a updated collection is returned.)

Example

await app.remove_collection_gifts("me", 123, ["https://t.me/nft/NekoHelmet-9215"])