Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RestrictionReason

Hierarchy

  • VirtualClass<{ platform: string; reason: string; text: string }>
    • RestrictionReason

Index

Properties

CONSTRUCTOR_ID: number
SUBCLASS_OF_ID: number
className: string
classType: "constructor" | "request"
originalArgs: { platform: string; reason: string; text: string }

Type declaration

  • platform: string
  • reason: string
  • text: string
CONSTRUCTOR_ID: 3497176244
SUBCLASS_OF_ID: 112039341
classType: "constructor"
className: "RestrictionReason"
platform: string
reason: string
text: string

Methods

  • serializeBytes(data: string | Buffer): Buffer
  • serializeDate(date: number | Date): Buffer
  • getBytes(): Buffer
  • toJSON(): { platform: string; reason: string; text: string }

Constructors

  • new RestrictionReason(args: { platform: string; reason: string; text: string }): RestrictionReason

Generated using TypeDoc