Display or remove a received gift » from our profile.
boolFalse#bc799737 = Bool;
boolTrue#997275b5 = Bool;
---functions---
payments.saveStarGift#2a2a697c flags:# unsave:flags.0?true stargift:InputSavedStarGift = Bool;
Name | Type | Description |
---|---|---|
flags | # | Flags, see TL conditional fields |
unsave | flags.0?true | If set, hides the gift from our profile. |
stargift | InputSavedStarGift |
Code | Type | Description |
---|---|---|
400 | MESSAGE_ID_INVALID | The provided message id is invalid. |
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.