add_collection_gifts()¶
- Client.add_collection_gifts()¶
Adds gifts to the beginning of a previously created 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.name (
str) – Name of the collection, 1-12 characters.gift_ids (List of
str) – Identifier of the gifts to add to the collection.
- Returns:
GiftCollection– On success, a updated collection is returned.
Example
await app.add_collection_gifts("me", 123, ["https://t.me/nft/NekoHelmet-9215"])