Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MessageActionGiftCode

Hierarchy

  • VirtualClass<{ viaGiveaway?: boolean; unclaimed?: boolean; boostPeer?: TypePeer; months: int; slug: string; currency?: string; amount?: long; cryptoCurrency?: string; cryptoAmount?: long }>
    • MessageActionGiftCode

Index

Properties

CONSTRUCTOR_ID: number
SUBCLASS_OF_ID: number
className: string
classType: "constructor" | "request"
originalArgs: { viaGiveaway?: boolean; unclaimed?: boolean; boostPeer?: TypePeer; months: number; slug: string; currency?: string; amount?: BigInteger; cryptoCurrency?: string; cryptoAmount?: BigInteger }

Type declaration

  • Optional viaGiveaway?: boolean
  • Optional unclaimed?: boolean
  • Optional boostPeer?: TypePeer
  • months: number
  • slug: string
  • Optional currency?: string
  • Optional amount?: BigInteger
  • Optional cryptoCurrency?: string
  • Optional cryptoAmount?: BigInteger
CONSTRUCTOR_ID: 1737240073
SUBCLASS_OF_ID: 2256589094
classType: "constructor"
className: "MessageActionGiftCode"
viaGiveaway?: boolean
unclaimed?: boolean
boostPeer?: TypePeer
months: number
slug: string
currency?: string
amount?: BigInteger
cryptoCurrency?: string
cryptoAmount?: BigInteger

Methods

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

    • Optional viaGiveaway?: boolean
    • Optional unclaimed?: boolean
    • Optional boostPeer?: TypePeer
    • months: number
    • slug: string
    • Optional currency?: string
    • Optional amount?: BigInteger
    • Optional cryptoCurrency?: string
    • Optional cryptoAmount?: BigInteger

Constructors

  • new MessageActionGiftCode(args: { viaGiveaway?: boolean; unclaimed?: boolean; boostPeer?: TypePeer; months: number; slug: string; currency?: string; amount?: BigInteger; cryptoCurrency?: string; cryptoAmount?: BigInteger }): MessageActionGiftCode
  • Parameters

    • args: { viaGiveaway?: boolean; unclaimed?: boolean; boostPeer?: TypePeer; months: number; slug: string; currency?: string; amount?: BigInteger; cryptoCurrency?: string; cryptoAmount?: BigInteger }
      • Optional viaGiveaway?: boolean
      • Optional unclaimed?: boolean
      • Optional boostPeer?: TypePeer
      • months: number
      • slug: string
      • Optional currency?: string
      • Optional amount?: BigInteger
      • Optional cryptoCurrency?: string
      • Optional cryptoAmount?: BigInteger

    Returns MessageActionGiftCode

Generated using TypeDoc