View Source ExTDLib.Object.PremiumPaymentOption (ExTDLib v0.0.4)
Describes an option for buying Telegram Premium to a user.
| Name | Type | Description |
|---|---|---|
| currency | string | ISO 4217 currency code for Telegram Premium subscription payment. |
| amount | string | The amount to pay, in the smallest units of the currency. |
| discount_percentage | number | The discount associated with this option, as a percentage. |
| 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. |
| payment_link | InternalLinkType | An internal link to be opened for buying Telegram Premium to the user if store payment isn't possible; may be null if direct payment isn't available. |
More details on telegram's documentation.