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.
| الاسم | النوع | مطلوب | الوصف |
|---|---|---|---|
peer | InputPeer | أيوه | Peer that owns the collection. |
collection_id | int | أيوه | Collection ID. |
title | string | لأ | Title of the collection, to rename the collection. |
delete_stargift | Vector<InputSavedStarGift> | لأ | Can contain a list of gifts to remove from the collection. |
add_stargift | Vector<InputSavedStarGift> | لأ | Can contain a list of gifts to add to the collection. |
order | Vector<InputSavedStarGift> | لأ | Can contain the new gift order. |
الردود
StarGiftCollection
MTProto RPC
- 400 · PEER_ID_INVALID — The provided peer id is invalid.