telegram api constructor · layer 229 · #7e1c1187

messageActionStarGiftUnique

A gift » was upgraded to a collectible gift ».

definition

messageActionStarGiftUnique#7e1c1187 flags:# upgrade:flags.0?true transferred:flags.1?true saved:flags.2?true refunded:flags.5?true prepaid_upgrade:flags.11?true assigned:flags.13?true from_offer:flags.14?true craft:flags.16?true name_hidden:flags.17?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_amount:flags.8?StarsAmount can_transfer_at:flags.9?int can_resell_at:flags.10?int drop_original_details_stars:flags.12?long can_craft_at:flags.15?int message:flags.18?TextWithEntities = MessageAction;

parameters

nametypedescription
flags#Flags, see TL conditional fields
upgradeflags.0?trueIf 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.
transferredflags.1?trueIf 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).
savedflags.2?trueIf set, this gift is visible on the user or channel's profile page; can only be set for the receiver of a gift.
refundedflags.5?trueThis 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.
prepaid_upgradeflags.11?trueThe sender has pre-paid for the upgrade of this gift to a collectible gift.
assignedflags.13?true
from_offerflags.14?true
craftflags.16?true
name_hiddenflags.17?true
giftStarGiftThe collectible gift.
can_export_atflags.3?intIf set, indicates that the current gift can't be exported to the TON blockchain » yet: the owner will be able to export it at the specified unixtime.
transfer_starsflags.4?longIf set, indicates that the gift can be transferred » to another user by paying the specified amount of stars.
from_idflags.6?PeerSender of the gift (unset for anonymous gifts).
peerflags.7?PeerReceiver of the gift.
saved_idflags.7?longFor channel gifts, ID to use in inputSavedStarGiftChat constructors.
resale_amountflags.8?StarsAmountResale price of the gift.
can_transfer_atflags.9?intIf 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_atflags.10?intIf 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.
drop_original_details_starsflags.12?long
can_craft_atflags.15?int
messageflags.18?TextWithEntities

type

MessageAction · 68 other constructors

history

present in layers 196–229 · constructor id changed 6×

idlayers
#26077b99196–197
#acdfcb81198–202
#2e3ae60e203–210
#34f762f3211–214
#95728543215–221
#e6c31522222–228
#7e1c1187229