payments.updateStarGiftCollection
从明星礼物系列中添加或删除礼物 »,或重命名该系列。
从[明星礼物收藏»](https://core.telegram.org/api/gifts.md#gift-collections)添加或删除礼物,或重命名该收藏。
| 名称 | 类型 | 必填 | 描述 |
|---|---|---|---|
peer | InputPeer | 是的 | 拥有该集合的同级。 |
collection_id | int | 是的 | 集合 ID。 |
title | string | 否 | 集合的标题,用于重命名集合。 |
delete_stargift | Vector<InputSavedStarGift> | 否 | 可以包含要从收藏中删除的礼物列表。 |
add_stargift | Vector<InputSavedStarGift> | 否 | 可以包含要添加到收藏中的礼物列表。 |
order | Vector<InputSavedStarGift> | 否 | 可以包含新的礼品订单。 |
回应
StarGiftCollection
MTProto RPC
- 400 · PEER_ID_INVALID — 提供的对等 ID 无效。