Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MessageActionGiftPremium

Hierarchy

  • VirtualClass<{ currency: string; amount: long; months: int; cryptoCurrency?: string; cryptoAmount?: long }>
    • MessageActionGiftPremium

Index

Properties

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

Type declaration

  • currency: string
  • amount: BigInteger
  • months: number
  • Optional cryptoCurrency?: string
  • Optional cryptoAmount?: BigInteger
CONSTRUCTOR_ID: 3359468268
SUBCLASS_OF_ID: 2256589094
classType: "constructor"
className: "MessageActionGiftPremium"
currency: string
amount: BigInteger
months: number
cryptoCurrency?: string
cryptoAmount?: BigInteger

Methods

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

    • currency: string
    • amount: BigInteger
    • months: number
    • Optional cryptoCurrency?: string
    • Optional cryptoAmount?: BigInteger

Constructors

  • new MessageActionGiftPremium(args: { currency: string; amount: BigInteger; months: number; cryptoCurrency?: string; cryptoAmount?: BigInteger }): MessageActionGiftPremium
  • Parameters

    • args: { currency: string; amount: BigInteger; months: number; cryptoCurrency?: string; cryptoAmount?: BigInteger }
      • currency: string
      • amount: BigInteger
      • months: number
      • Optional cryptoCurrency?: string
      • Optional cryptoAmount?: BigInteger

    Returns MessageActionGiftPremium

Generated using TypeDoc