A gift » was upgraded to a collectible gift ».
messageActionStarGiftUnique#2e3ae60e flags:# upgrade:flags.0?true transferred:flags.1?true saved:flags.2?true refunded:flags.5?true gift:StarGift can_export_at:flags.3?int transfer_stars:flags.4?long from_id:flags.6?Peer peer:flags.7?Peer saved_id:flags.7?long resale_stars:flags.8?long can_transfer_at:flags.9?int can_resell_at:flags.10?int = MessageAction;
Name | Type | Description |
---|---|---|
flags | # | Flags, see TL conditional fields |
upgrade | flags.0?true | If set, this collectible was upgraded » to a collectible gift from a previously received or sent (depending on the out flag of the containing messageService) non-collectible gift. |
transferred | flags.1?true | If set, this collectible was transferred (either to the current user or by the current user to the other user in the private chat, depending on the out flag of the containing messageService). |
saved | flags.2?true | If set, this gift is visible on the user or channel's profile page; can only be set for the receiver of a gift. |
refunded | flags.5?true | This gift was upgraded to a collectible gift » and then re-downgraded to a regular gift because a request to refund the payment related to the upgrade was made, and the money was returned. |
gift | StarGift | The collectible gift. |
can_export_at | flags.3?int | |
transfer_stars | flags.4?long | If set, indicates that the gift can be transferred » to another user by paying the specified amount of stars. |
from_id | flags.6?Peer | Sender of the gift (unset for anonymous gifts). |
peer | flags.7?Peer | Receiver of the gift. |
saved_id | flags.12?long | For channel gifts, ID to use in inputSavedStarGiftChat constructors. |
resale_stars | flags.8?long | If set, indicates the number of Telegram Stars that were spent on buying the gift, not set if the gift was upgrade d or transferred . |
can_transfer_at | flags.9?int | If set, indicates that the current gift can't be transferred » yet: the owner will be able to transfer it at the specified unixtime. |
can_resell_at | flags.10?int | If set, indicates that the current gift can't be resold » yet: the owner will be able to put it up for sale at the specified unixtime. |
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.