View Source ExTDLib.Object.PremiumGiftCodePaymentOption (ExTDLib v0.0.4)

Describes an option for creating Telegram Premium gift codes.

NameTypeDescription
currencystringISO 4217 currency code for Telegram Premium gift code payment.
amountstringThe amount to pay, in the smallest units of the currency.
user_countnumberNumber of users which will be able to activate the gift codes.
month_countnumberNumber of month the Telegram Premium subscription will be active.
store_product_idstringIdentifier of the store product associated with the option; may be empty if none.
store_product_quantitynumberNumber of times the store product must be paid.

More details on telegram's documentation.