MessageActionStarGiftUnique#
- class pyrogram.raw.types.MessageActionStarGiftUnique#
A gift was upgraded to a collectible gift .
Constructor of
MessageAction
.- Details:
Layer:
214
ID:
34F762F3
- Parameters:
gift (
StarGift
) – The collectible gift.upgrade (
bool
, optional) – 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 (
bool
, optional) – 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 (
bool
, optional) – 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 (
bool
, optional) – 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 (
bool
, optional) – N/Acan_export_at (
int
32-bit
, optional) – 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 (
int
64-bit
, optional) – If set, indicates that the gift can be transferred » to another user by paying the specified amount of stars.from_id (
Peer
, optional) – Sender of the gift (unset for anonymous gifts).peer (
Peer
, optional) – Receiver of the gift.saved_id (
int
64-bit
, optional) – For channel gifts, ID to use in inputSavedStarGiftChat constructors.resale_amount (
StarsAmount
, optional) – N/Acan_transfer_at (
int
32-bit
, optional) – 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
32-bit
, optional) – 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.