Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PremiumSubscriptionOption

Hierarchy

  • VirtualClass<{ current?: boolean; canPurchaseUpgrade?: boolean; transaction?: string; months: int; currency: string; amount: long; botUrl: string; storeProduct?: string }>
    • PremiumSubscriptionOption

Index

Properties

CONSTRUCTOR_ID: number
SUBCLASS_OF_ID: number
className: string
classType: "constructor" | "request"
originalArgs: { current?: boolean; canPurchaseUpgrade?: boolean; transaction?: string; months: number; currency: string; amount: BigInteger; botUrl: string; storeProduct?: string }

Type declaration

  • Optional current?: boolean
  • Optional canPurchaseUpgrade?: boolean
  • Optional transaction?: string
  • months: number
  • currency: string
  • amount: BigInteger
  • botUrl: string
  • Optional storeProduct?: string
CONSTRUCTOR_ID: 1596792306
SUBCLASS_OF_ID: 774752063
classType: "constructor"
className: "PremiumSubscriptionOption"
current?: boolean
canPurchaseUpgrade?: boolean
transaction?: string
months: number
currency: string
amount: BigInteger
botUrl: string
storeProduct?: string

Methods

  • serializeBytes(data: string | Buffer): Buffer
  • serializeDate(date: number | Date): Buffer
  • getBytes(): Buffer
  • toJSON(): { current?: boolean; canPurchaseUpgrade?: boolean; transaction?: string; months: number; currency: string; amount: BigInteger; botUrl: string; storeProduct?: string }
  • Returns { current?: boolean; canPurchaseUpgrade?: boolean; transaction?: string; months: number; currency: string; amount: BigInteger; botUrl: string; storeProduct?: string }

    • Optional current?: boolean
    • Optional canPurchaseUpgrade?: boolean
    • Optional transaction?: string
    • months: number
    • currency: string
    • amount: BigInteger
    • botUrl: string
    • Optional storeProduct?: string

Constructors

  • new PremiumSubscriptionOption(args: { current?: boolean; canPurchaseUpgrade?: boolean; transaction?: string; months: number; currency: string; amount: BigInteger; botUrl: string; storeProduct?: string }): PremiumSubscriptionOption
  • Parameters

    • args: { current?: boolean; canPurchaseUpgrade?: boolean; transaction?: string; months: number; currency: string; amount: BigInteger; botUrl: string; storeProduct?: string }
      • Optional current?: boolean
      • Optional canPurchaseUpgrade?: boolean
      • Optional transaction?: string
      • months: number
      • currency: string
      • amount: BigInteger
      • botUrl: string
      • Optional storeProduct?: string

    Returns PremiumSubscriptionOption

Generated using TypeDoc