PremiumGiftOption#
- class pyrogram.raw.types.PremiumGiftOption#
Telegram Premium gift option.
Constructor of
PremiumGiftOption
.- Details:
Layer:
158
ID:
74C34319
- Parameters:
months (
int
32-bit
) – Duration of gifted Telegram Premium subscription.currency (
str
) – Three-letter ISO 4217 currency code.amount (
int
64-bit
) – Price of the product in the smallest units of the currency (integer, not float/double). For example, for a price of US$ 1.45 pass amount = 145. See the exp parameter in currencies.json, it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).bot_url (
str
) – An invoice deep link » to an invoice for in-app payment, using the official Premium bot; may be empty if direct payment isn’t available.store_product (
str
, optional) – An identifier for the App Store/Play Store product associated with the Premium gift.