delete_gift_collection()

Client.delete_gift_collection()

Deletes a gift 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.

Returns:

bool – On success, True is returned.

Example

await app.delete_gift_collection("me", 123)