Display or remove a received or hosted gift » from our profile.
메서드 스키마는 레이어 196부터 사용할 수 있습니다. 전환 »
| Name | Type | Description |
|---|---|---|
| flags | # | Flags, see TL conditional fields |
| unsave | flags.0?true | If set, hides the gift from our profile. |
| stargift | InputSavedStarGift | The gift to display or remove. A hosted collectible gift » may be used by its host or owner. |
| Code | Type | Description |
|---|---|---|
| 400 | MESSAGE_ID_INVALID | The provided message id is invalid. |
| 400 | SAVED_ID_EMPTY | The passed inputSavedStarGiftChat.saved_id is empty. |
| 400 | STARGIFT_OBJECT_INVALID | The specified star gift object is invalid. |
| 400 | STARGIFT_OWNER_INVALID | You cannot transfer or sell a gift owned by another user. |
| 400 | USER_ID_INVALID | The provided user ID is invalid. |
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.