You received a gift, see here » for more info.
messageActionStarGift#8557637 flags:# name_hidden:flags.0?true saved:flags.2?true converted:flags.3?true gift:StarGift message:flags.1?TextWithEntities convert_stars:flags.4?long = MessageAction;
Name | Type | Description |
---|---|---|
flags | # | Flags, see TL conditional fields |
name_hidden | flags.0?true | If set, the name of the sender of the gift will be hidden if the destination user decides to display the gift on their profile |
saved | flags.2?true | Whether this gift was added to the destination user's profile (may be toggled using payments.saveStarGift and fetched using payments.getUserStarGifts) |
converted | flags.3?true | Whether this gift was converted to Telegram Stars and cannot be displayed on the profile anymore. |
gift | StarGift | Info about the gift |
message | flags.1?TextWithEntities | Additional message from the sender of the gift |
convert_stars | flags.4?long | The receiver of this gift may convert it to this many Telegram Stars, instead of displaying it on their profile page.convert_stars will be equal to stars only if the gift was bought using recently bought Telegram Stars, otherwise it will be less than stars . |
Display or remove a received gift » from our profile.
Get the gifts » pinned on a specific user's profile.
May also be used to fetch all gifts received by the current user.
Telegram Stars are virtual items that allow users to purchase digital goods and services from bots and mini apps inside the Telegram ecosystem, send gifts to content creators on the Telegram platform, and more.
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.