Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PromoData

Hierarchy

Index

Properties

CONSTRUCTOR_ID: number
SUBCLASS_OF_ID: number
className: string
classType: "constructor" | "request"
originalArgs: { proxy?: boolean; expires: number; peer: TypePeer; chats: TypeChat[]; users: TypeUser[]; psaType?: string; psaMessage?: string }

Type declaration

  • Optional proxy?: boolean
  • expires: number
  • peer: TypePeer
  • chats: TypeChat[]
  • users: TypeUser[]
  • Optional psaType?: string
  • Optional psaMessage?: string
CONSTRUCTOR_ID: 2352576831
SUBCLASS_OF_ID: 2639877442
classType: "constructor"
className: "help.PromoData"
proxy?: boolean
expires: number
peer: TypePeer
chats: TypeChat[]
users: TypeUser[]
psaType?: string
psaMessage?: string

Methods

  • serializeBytes(data: string | Buffer): Buffer
  • serializeDate(date: number | Date): Buffer
  • getBytes(): Buffer
  • toJSON(): { proxy?: boolean; expires: number; peer: TypePeer; chats: TypeChat[]; users: TypeUser[]; psaType?: string; psaMessage?: string }

Constructors

Generated using TypeDoc