Options
All
  • Public
  • Public/Protected
  • All
Menu

Class InputStorePaymentPremiumGiveaway

Hierarchy

  • VirtualClass<{ onlyNewSubscribers?: boolean; winnersAreVisible?: boolean; boostPeer: TypeInputPeer; additionalPeers?: TypeInputPeer[]; countriesIso2?: string[]; prizeDescription?: string; randomId?: long; untilDate: int; currency: string; amount: long }>
    • InputStorePaymentPremiumGiveaway

Index

Properties

CONSTRUCTOR_ID: number
SUBCLASS_OF_ID: number
className: string
classType: "constructor" | "request"
originalArgs: { onlyNewSubscribers?: boolean; winnersAreVisible?: boolean; boostPeer: TypeInputPeer; additionalPeers?: TypeInputPeer[]; countriesIso2?: string[]; prizeDescription?: string; randomId?: BigInteger; untilDate: number; currency: string; amount: BigInteger }

Type declaration

  • Optional onlyNewSubscribers?: boolean
  • Optional winnersAreVisible?: boolean
  • boostPeer: TypeInputPeer
  • Optional additionalPeers?: TypeInputPeer[]
  • Optional countriesIso2?: string[]
  • Optional prizeDescription?: string
  • Optional randomId?: BigInteger
  • untilDate: number
  • currency: string
  • amount: BigInteger
CONSTRUCTOR_ID: 369444042
SUBCLASS_OF_ID: 3886290765
classType: "constructor"
className: "InputStorePaymentPremiumGiveaway"
onlyNewSubscribers?: boolean
winnersAreVisible?: boolean
boostPeer: TypeInputPeer
additionalPeers?: TypeInputPeer[]
countriesIso2?: string[]
prizeDescription?: string
randomId?: BigInteger
untilDate: number
currency: string
amount: BigInteger

Methods

  • serializeBytes(data: string | Buffer): Buffer
  • serializeDate(date: number | Date): Buffer
  • getBytes(): Buffer
  • toJSON(): { onlyNewSubscribers?: boolean; winnersAreVisible?: boolean; boostPeer: TypeInputPeer; additionalPeers?: TypeInputPeer[]; countriesIso2?: string[]; prizeDescription?: string; randomId?: BigInteger; untilDate: number; currency: string; amount: BigInteger }
  • Returns { onlyNewSubscribers?: boolean; winnersAreVisible?: boolean; boostPeer: TypeInputPeer; additionalPeers?: TypeInputPeer[]; countriesIso2?: string[]; prizeDescription?: string; randomId?: BigInteger; untilDate: number; currency: string; amount: BigInteger }

    • Optional onlyNewSubscribers?: boolean
    • Optional winnersAreVisible?: boolean
    • boostPeer: TypeInputPeer
    • Optional additionalPeers?: TypeInputPeer[]
    • Optional countriesIso2?: string[]
    • Optional prizeDescription?: string
    • Optional randomId?: BigInteger
    • untilDate: number
    • currency: string
    • amount: BigInteger

Constructors

  • new InputStorePaymentPremiumGiveaway(args: { onlyNewSubscribers?: boolean; winnersAreVisible?: boolean; boostPeer: TypeInputPeer; additionalPeers?: TypeInputPeer[]; countriesIso2?: string[]; prizeDescription?: string; randomId?: BigInteger; untilDate: number; currency: string; amount: BigInteger }): InputStorePaymentPremiumGiveaway
  • Parameters

    • args: { onlyNewSubscribers?: boolean; winnersAreVisible?: boolean; boostPeer: TypeInputPeer; additionalPeers?: TypeInputPeer[]; countriesIso2?: string[]; prizeDescription?: string; randomId?: BigInteger; untilDate: number; currency: string; amount: BigInteger }
      • Optional onlyNewSubscribers?: boolean
      • Optional winnersAreVisible?: boolean
      • boostPeer: TypeInputPeer
      • Optional additionalPeers?: TypeInputPeer[]
      • Optional countriesIso2?: string[]
      • Optional prizeDescription?: string
      • Optional randomId?: BigInteger
      • untilDate: number
      • currency: string
      • amount: BigInteger

    Returns InputStorePaymentPremiumGiveaway

Generated using TypeDoc