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.