payments.saveStarGift

Display or remove a received gift » from our profile.

 Method schema is available as of layer 189. Switch »

Parameters

Name Type Description
flags # Flags, see TL conditional fields
unsave flags.0?true If set, hides the gift from our profile.
user_id InputUser ID of the user that sent us the gift.
msg_id int The ID of the messageService with the messageActionStarGift.

Result

Bool

Bots can use this method

Related pages

messageService

Indicates a service message

messageActionStarGift

You received a gift, see here » for more info.

Telegram Gifts

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.