Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/mtkruto/tl/2_types.ts>PremiumSubscriptionOption

[WIP] Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class PremiumSubscriptionOption
import { PremiumSubscriptionOption } from "https://deno.land/x/mtkruto@0.0.982/tl/2_types.ts";

Constructors

new
PremiumSubscriptionOption(params: { current?: true; canPurchaseUpgrade?: true; transaction?: string; months: number; currency: string; amount: bigint; botUrl: string; storeProduct?: string; })

Properties

protected
readonly
[id]
protected
readonly
[params]: Params
amount: bigint
botUrl: string
optional
canPurchaseUpgrade: true
currency: string
optional
current: true
months: number
optional
storeProduct: string
optional
transaction: string

Static Properties

readonly
[paramDesc]: ParamDesc