PremiumPaymentOption¶
Describes an option for buying Telegram Premium to a user
PremiumPaymentOption(
currency: string,
amount: int53,
discount_percentage: int32,
month_count: int32,
store_product_id: string,
payment_link: InternalLinkType
) → PremiumPaymentOption
currency¶
string
ISO 4217 currency code for Telegram Premium subscription payment
amount¶
int53
The amount to pay, in the smallest units of the currency
discount_percentage¶
int32
The discount associated with this option, as a percentage
month_count¶
int32
Number of months the Telegram Premium subscription will be active. Use getPremiumInfoSticker to get the sticker to be used as representation of the Telegram Premium subscription
store_product_id¶
string
Identifier of the store product associated with the option
payment_link¶
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