MessageActionStarGiftUnique¶
- class pyrogram.raw.types.MessageActionStarGiftUnique[source]¶
A gift » was upgraded to a collectible gift ».
Constructor of
MessageAction.- Details:
Layer:
229ID:
7E1C1187
- 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 theoutflag 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 theoutflag 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) – The sender has pre-paid for the upgrade of this gift to a collectible gift.assigned (
bool, optional) – This collectible gift was linked from the TON blockchain to a Telegram profile ».from_offer (
bool, optional) – This collectible gift was transferred after a purchase offer » was accepted.craft (
bool, optional) – This collectible gift was obtained by crafting ».name_hidden (
bool, optional) – N/Acan_export_at (
int32-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 (
int64-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 (
int64-bit, optional) – For channel gifts, ID to use in inputSavedStarGiftChat constructors.resale_amount (
StarsAmount, optional) – Resale price of the gift.can_transfer_at (
int32-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 (
int32-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.drop_original_details_stars (
int64-bit, optional) – If set, the starGiftAttributeOriginalDetails attribute of this gift may be removed by paying the specified amount of stars, see here » for the full flow.can_craft_at (
int32-bit, optional) – If set, this gift can be used for crafting » only starting from the specified unixtime.message (
TextWithEntities, optional) – N/A