View Source ExTDLib.Object.PremiumGiftCodePaymentOption (ExTDLib v0.0.4)
Describes an option for creating Telegram Premium gift codes.
| Name | Type | Description |
|---|---|---|
| currency | string | ISO 4217 currency code for Telegram Premium gift code payment. |
| amount | string | The amount to pay, in the smallest units of the currency. |
| user_count | number | Number of users which will be able to activate the gift codes. |
| month_count | number | Number of month the Telegram Premium subscription will be active. |
| store_product_id | string | Identifier of the store product associated with the option; may be empty if none. |
| store_product_quantity | number | Number of times the store product must be paid. |
More details on telegram's documentation.