Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

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

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

Info about a Telegram Premium purchase

Constructors

new
InputStorePaymentPremiumSubscription_(params?: { restore?: true; upgrade?: true; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
optional
restore: true

Pass true if this is a restore of a Telegram Premium purchase; only for the App Store

optional
upgrade: true

Pass true if this is an upgrade from a monthly subscription to a yearly subscription; only for App Store

Static Properties

readonly
[name]: string
readonly
[paramDesc]: ParamDesc