Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MessageMediaGiveaway

Hierarchy

  • VirtualClass<{ onlyNewSubscribers?: boolean; winnersAreVisible?: boolean; channels: long[]; countriesIso2?: string[]; prizeDescription?: string; quantity: int; months: int; untilDate: int }>
    • MessageMediaGiveaway

Index

Properties

CONSTRUCTOR_ID: number
SUBCLASS_OF_ID: number
className: string
classType: "constructor" | "request"
originalArgs: { onlyNewSubscribers?: boolean; winnersAreVisible?: boolean; channels: BigInteger[]; countriesIso2?: string[]; prizeDescription?: string; quantity: number; months: number; untilDate: number }

Type declaration

  • Optional onlyNewSubscribers?: boolean
  • Optional winnersAreVisible?: boolean
  • channels: BigInteger[]
  • Optional countriesIso2?: string[]
  • Optional prizeDescription?: string
  • quantity: number
  • months: number
  • untilDate: number
CONSTRUCTOR_ID: 3668805040
SUBCLASS_OF_ID: 1198308914
classType: "constructor"
className: "MessageMediaGiveaway"
onlyNewSubscribers?: boolean
winnersAreVisible?: boolean
channels: BigInteger[]
countriesIso2?: string[]
prizeDescription?: string
quantity: number
months: number
untilDate: number

Methods

  • serializeBytes(data: string | Buffer): Buffer
  • serializeDate(date: number | Date): Buffer
  • getBytes(): Buffer
  • toJSON(): { onlyNewSubscribers?: boolean; winnersAreVisible?: boolean; channels: BigInteger[]; countriesIso2?: string[]; prizeDescription?: string; quantity: number; months: number; untilDate: number }
  • Returns { onlyNewSubscribers?: boolean; winnersAreVisible?: boolean; channels: BigInteger[]; countriesIso2?: string[]; prizeDescription?: string; quantity: number; months: number; untilDate: number }

    • Optional onlyNewSubscribers?: boolean
    • Optional winnersAreVisible?: boolean
    • channels: BigInteger[]
    • Optional countriesIso2?: string[]
    • Optional prizeDescription?: string
    • quantity: number
    • months: number
    • untilDate: number

Constructors

  • new MessageMediaGiveaway(args: { onlyNewSubscribers?: boolean; winnersAreVisible?: boolean; channels: BigInteger[]; countriesIso2?: string[]; prizeDescription?: string; quantity: number; months: number; untilDate: number }): MessageMediaGiveaway
  • Parameters

    • args: { onlyNewSubscribers?: boolean; winnersAreVisible?: boolean; channels: BigInteger[]; countriesIso2?: string[]; prizeDescription?: string; quantity: number; months: number; untilDate: number }
      • Optional onlyNewSubscribers?: boolean
      • Optional winnersAreVisible?: boolean
      • channels: BigInteger[]
      • Optional countriesIso2?: string[]
      • Optional prizeDescription?: string
      • quantity: number
      • months: number
      • untilDate: number

    Returns MessageMediaGiveaway

Generated using TypeDoc