payments.updateStarGiftCollection
Add or remove gifts from a star gift collection », or rename the collection.
Add or remove gifts from a [star gift collection »](https://core.telegram.org/api/gifts.md#gift-collections), or rename the collection.
| Name | Type | Required | Description |
|---|---|---|---|
peer | InputPeer | Yes | Peer that owns the collection. |
collection_id | int | Yes | Collection ID. |
title | string | No | Title of the collection, to rename the collection. |
delete_stargift | Vector<InputSavedStarGift> | No | Can contain a list of gifts to remove from the collection. |
add_stargift | Vector<InputSavedStarGift> | No | Can contain a list of gifts to add to the collection. |
order | Vector<InputSavedStarGift> | No | Can contain the new gift order. |
Replies
StarGiftCollection
MTProto RPC
- 400 · PEER_ID_INVALID — The provided peer id is invalid.