StarsGiftOption

class pyrogram.types.StarsGiftOption

Telegram Stars gift option.

Parameters:
  • stars (int) – Amount of Telegram stars.

  • currency (str) – Three-letter ISO 4217 currency code.

  • amount (int) – Price of the product in the smallest units of the currency (integer, not float/double).

  • extended (bool, optional) – If set, the option must only be shown in the full list of topup options.

  • store_product (str, optional) – Identifier of the store product associated with the option, official apps only.