class PremiumGiftCodeOption_
extends _PremiumGiftCodeOption_
import { PremiumGiftCodeOption_ } from "https://deno.land/x/mtkruto@0.1.157/tl/2_types.ts";
Contains info about a giveaway/gift option.
Properties
protected
readonly
[params]: ParamsTotal price in the smallest units of the currency (integer, not float/double). For example, for a price of US$ 1.45
pass amount = 145
. See the exp parameter in currencies.json, it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).
Three-letter ISO 4217 currency code
Duration in months of each gifted Telegram Premium subscription.
Identifier of the store product associated with the option, official apps only.
Static Properties
readonly
[paramDesc]: ParamDesc