InputInvoiceStarGift#

class pyrogram.raw.types.InputInvoiceStarGift#

Used to buy a Telegram Star Gift, see here » for more info.

Constructor of InputInvoice.

Details:
  • Layer: 198

  • ID: E8625E92

Parameters:
  • peer (InputPeer) – N/A

  • gift_id (int 64-bit) – Identifier of the gift, from starGift.id

  • hide_name (bool, optional) – If set, your name will be hidden if the destination user decides to display the gift on their profile (they will still see that you sent the gift)

  • include_upgrade (bool, optional) – N/A

  • message (TextWithEntities, optional) – Optional message, attached with the gift. The maximum length for this field is specified in the stargifts_message_length_max client configuration value ».