Obtain a preview of the possible attributes (chosen randomly) a gift » can receive after upgrading it to a collectible gift », see here » for more info.
메서드 스키마는 레이어 196부터 사용할 수 있습니다. 전환 »
| Name | Type | Description |
|---|---|---|
| gift_id | long | The gift to upgrade. |
payments.StarGiftUpgradePreview
| Code | Type | Description |
|---|---|---|
| 400 | STARGIFT_INVALID | The passed gift is invalid. |
| 400 | STARGIFT_UPGRADE_UNAVAILABLE | A received gift can only be upgraded to a collectible gift if the messageActionStarGift/savedStarGift.can_upgrade flag is set. |
Users can send Gifts to their friends. The recipients of gifts can display them on their profile pages or turn them into Telegram Stars ». Telegram Stars can be used for many things, including supporting creators and buying services in mini apps.
You received a gift, see here » for more info.
Represents a gift owned by a peer.