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
| name | type | description |
|---|---|---|
flags | # | Flags, see TL conditional fields |
upgrade | 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 | 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 | 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 | 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. |
prepaid_upgrade | true | The sender has pre-paid for the upgrade of this gift to a collectible gift. |
assigned | true | |
from_offer | true | |
craft | true | |
name_hidden | true | |
gift | StarGift | The collectible gift. |
can_export_at | int | If 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_stars | long | If set, indicates that the gift can be transferred » to another user by paying the specified amount of stars. |
from_id | Peer | Sender of the gift (unset for anonymous gifts). |
peer | Peer | Receiver of the gift. |
saved_id | long | For channel gifts, ID to use in inputSavedStarGiftChat constructors. |
resale_amount | StarsAmount | Resale price of the gift. |
can_transfer_at | 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 | 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. |
drop_original_details_stars | long | |
can_craft_at | int | |
message | TextWithEntities |
type
MessageAction · 68 other constructors
history
present in layers 196–229 · constructor id changed 6×
| id | layers |
|---|---|
| #26077b99 | 196–197 |
| #acdfcb81 | 198–202 |
| #2e3ae60e | 203–210 |
| #34f762f3 | 211–214 |
| #95728543 | 215–221 |
| #e6c31522 | 222–228 |
| #7e1c1187 | 229 |