Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MessageMediaGiveawayResults

Hierarchy

  • VirtualClass<{ onlyNewSubscribers?: boolean; refunded?: boolean; channelId: long; additionalPeersCount?: int; launchMsgId: int; winnersCount: int; unclaimedCount: int; winners: long[]; months: int; prizeDescription?: string; untilDate: int }>
    • MessageMediaGiveawayResults

Index

Properties

CONSTRUCTOR_ID: number
SUBCLASS_OF_ID: number
className: string
classType: "constructor" | "request"
originalArgs: { onlyNewSubscribers?: boolean; refunded?: boolean; channelId: BigInteger; additionalPeersCount?: number; launchMsgId: number; winnersCount: number; unclaimedCount: number; winners: BigInteger[]; months: number; prizeDescription?: string; untilDate: number }

Type declaration

  • Optional onlyNewSubscribers?: boolean
  • Optional refunded?: boolean
  • channelId: BigInteger
  • Optional additionalPeersCount?: number
  • launchMsgId: number
  • winnersCount: number
  • unclaimedCount: number
  • winners: BigInteger[]
  • months: number
  • Optional prizeDescription?: string
  • untilDate: number
CONSTRUCTOR_ID: 3331919976
SUBCLASS_OF_ID: 1198308914
classType: "constructor"
className: "MessageMediaGiveawayResults"
onlyNewSubscribers?: boolean
refunded?: boolean
channelId: BigInteger
additionalPeersCount?: number
launchMsgId: number
winnersCount: number
unclaimedCount: number
winners: BigInteger[]
months: number
prizeDescription?: string
untilDate: number

Methods

  • serializeBytes(data: string | Buffer): Buffer
  • serializeDate(date: number | Date): Buffer
  • getBytes(): Buffer
  • toJSON(): { onlyNewSubscribers?: boolean; refunded?: boolean; channelId: BigInteger; additionalPeersCount?: number; launchMsgId: number; winnersCount: number; unclaimedCount: number; winners: BigInteger[]; months: number; prizeDescription?: string; untilDate: number }
  • Returns { onlyNewSubscribers?: boolean; refunded?: boolean; channelId: BigInteger; additionalPeersCount?: number; launchMsgId: number; winnersCount: number; unclaimedCount: number; winners: BigInteger[]; months: number; prizeDescription?: string; untilDate: number }

    • Optional onlyNewSubscribers?: boolean
    • Optional refunded?: boolean
    • channelId: BigInteger
    • Optional additionalPeersCount?: number
    • launchMsgId: number
    • winnersCount: number
    • unclaimedCount: number
    • winners: BigInteger[]
    • months: number
    • Optional prizeDescription?: string
    • untilDate: number

Constructors

  • new MessageMediaGiveawayResults(args: { onlyNewSubscribers?: boolean; refunded?: boolean; channelId: BigInteger; additionalPeersCount?: number; launchMsgId: number; winnersCount: number; unclaimedCount: number; winners: BigInteger[]; months: number; prizeDescription?: string; untilDate: number }): MessageMediaGiveawayResults
  • Parameters

    • args: { onlyNewSubscribers?: boolean; refunded?: boolean; channelId: BigInteger; additionalPeersCount?: number; launchMsgId: number; winnersCount: number; unclaimedCount: number; winners: BigInteger[]; months: number; prizeDescription?: string; untilDate: number }
      • Optional onlyNewSubscribers?: boolean
      • Optional refunded?: boolean
      • channelId: BigInteger
      • Optional additionalPeersCount?: number
      • launchMsgId: number
      • winnersCount: number
      • unclaimedCount: number
      • winners: BigInteger[]
      • months: number
      • Optional prizeDescription?: string
      • untilDate: number

    Returns MessageMediaGiveawayResults

Generated using TypeDoc