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 | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
peer | InputPeer | Ja | Peer that owns the collection. |
collection_id | int | Ja | Collection ID. |
title | string | Nein | Title of the collection, to rename the collection. |
delete_stargift | Vector<InputSavedStarGift> | Nein | Can contain a list of gifts to remove from the collection. |
add_stargift | Vector<InputSavedStarGift> | Nein | Can contain a list of gifts to add to the collection. |
order | Vector<InputSavedStarGift> | Nein | Can contain the new gift order. |
Antworten
StarGiftCollection
MTProto RPC
- 400 · PEER_ID_INVALID – Die angegebene Peer-ID ist ungültig.