MessageActionStarGift#

class pyrogram.raw.types.MessageActionStarGift#

You received a gift, see here » for more info.

Constructor of MessageAction.

Details:
  • Layer: 198

  • ID: 4717E8A4

Parameters:
  • gift (StarGift) – Info about the gift

  • name_hidden (bool, optional) – If set, the name of the sender of the gift will be hidden if the destination user decides to display the gift on their profile

  • saved (bool, optional) – Whether this gift was added to the destination user’s profile (may be toggled using payments.saveStarGift and fetched using payments.getUserStarGifts)

  • converted (bool, optional) – Whether this gift was converted to Telegram Stars and cannot be displayed on the profile anymore.

  • upgraded (bool, optional) – N/A

  • refunded (bool, optional) – N/A

  • can_upgrade (bool, optional) – N/A

  • message (TextWithEntities, optional) – Additional message from the sender of the gift

  • convert_stars (int 64-bit, optional) – The receiver of this gift may convert it to this many Telegram Stars, instead of displaying it on their profile page.convert_stars will be equal to stars only if the gift was bought using recently bought Telegram Stars, otherwise it will be less than stars.

  • upgrade_msg_id (int 32-bit, optional) – N/A

  • upgrade_stars (int 64-bit, optional) – N/A

  • from_id (Peer, optional) – N/A

  • peer (Peer, optional) – N/A

  • saved_id (int 64-bit, optional) – N/A