Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PremiumGiftOption

Hierarchy

  • VirtualClass<{ months: int; currency: string; amount: long; botUrl: string; storeProduct?: string }>
    • PremiumGiftOption

Index

Properties

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

Type declaration

  • months: number
  • currency: string
  • amount: BigInteger
  • botUrl: string
  • Optional storeProduct?: string
CONSTRUCTOR_ID: 1958953753
SUBCLASS_OF_ID: 1367519294
classType: "constructor"
className: "PremiumGiftOption"
months: number
currency: string
amount: BigInteger
botUrl: string
storeProduct?: string

Methods

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

    • months: number
    • currency: string
    • amount: BigInteger
    • botUrl: string
    • Optional storeProduct?: string

Constructors

  • new PremiumGiftOption(args: { months: number; currency: string; amount: BigInteger; botUrl: string; storeProduct?: string }): PremiumGiftOption

Generated using TypeDoc