PremiumGiftPaymentOption¶
Describes an option for gifting Telegram Premium to a user. Use telegramPaymentPurposePremiumGift for out-of-store payments or payments in Telegram Stars
PremiumGiftPaymentOption(
currency: string,
amount: int53,
star_count: int53,
discount_percentage: int32,
month_count: int32,
store_product_id: string,
sticker: Sticker
) → PremiumGiftPaymentOption
currency¶
string
ISO 4217 currency code for the payment
amount¶
int53
The amount to pay, in the smallest units of the currency
star_count¶
int53
The alternative Telegram Star amount to pay; 0 if payment in Telegram Stars is not possible
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
store_product_id¶
string
Identifier of the store product associated with the option
sticker¶
A sticker to be shown along with the option; may be null if unknown