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

x/grm/mod.ts>tl.Api.PremiumSubscriptionOption

MTProto API Client for Deno 🦕
Go to Latest
class tl.Api.PremiumSubscriptionOption
extends VirtualClass<{ current?: boolean; canPurchaseUpgrade?: boolean; months: int; currency: string; amount: long; botUrl: string; storeProduct?: string; }>
import { tl } from "https://deno.land/x/grm@0.5.2/mod.ts";
const { PremiumSubscriptionOption } = tl.Api;

Properties

amount: long
botUrl: string
optional
canPurchaseUpgrade: boolean
className: "PremiumSubscriptionOption"
classType: "constructor"
CONSTRUCTOR_ID: 3069255358
currency: string
optional
current: boolean
months: int
optional
storeProduct: string
SUBCLASS_OF_ID: 774752063

Static Methods

fromReader(reader: Reader): PremiumSubscriptionOption