Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Theme

Hierarchy

Index

Properties

CONSTRUCTOR_ID: number
SUBCLASS_OF_ID: number
className: string
classType: "constructor" | "request"
originalArgs: { creator?: boolean; default?: boolean; forChat?: boolean; id: BigInteger; accessHash: BigInteger; slug: string; title: string; document?: TypeDocument; settings?: ThemeSettings[]; emoticon?: string; installsCount?: number }

Type declaration

  • Optional creator?: boolean
  • Optional default?: boolean
  • Optional forChat?: boolean
  • id: BigInteger
  • accessHash: BigInteger
  • slug: string
  • title: string
  • Optional document?: TypeDocument
  • Optional settings?: ThemeSettings[]
  • Optional emoticon?: string
  • Optional installsCount?: number
CONSTRUCTOR_ID: 2685298646
SUBCLASS_OF_ID: 1454688268
classType: "constructor"
className: "Theme"
creator?: boolean
default?: boolean
forChat?: boolean
id: BigInteger
accessHash: BigInteger
slug: string
title: string
document?: TypeDocument
settings?: ThemeSettings[]
emoticon?: string
installsCount?: number

Methods

  • serializeBytes(data: string | Buffer): Buffer
  • serializeDate(date: number | Date): Buffer
  • getBytes(): Buffer
  • toJSON(): { creator?: boolean; default?: boolean; forChat?: boolean; id: BigInteger; accessHash: BigInteger; slug: string; title: string; document?: TypeDocument; settings?: ThemeSettings[]; emoticon?: string; installsCount?: number }
  • Returns { creator?: boolean; default?: boolean; forChat?: boolean; id: BigInteger; accessHash: BigInteger; slug: string; title: string; document?: TypeDocument; settings?: ThemeSettings[]; emoticon?: string; installsCount?: number }

    • Optional creator?: boolean
    • Optional default?: boolean
    • Optional forChat?: boolean
    • id: BigInteger
    • accessHash: BigInteger
    • slug: string
    • title: string
    • Optional document?: TypeDocument
    • Optional settings?: ThemeSettings[]
    • Optional emoticon?: string
    • Optional installsCount?: number
  • fromReader(reader: any): Theme

Constructors

  • new Theme(args: { creator?: boolean; default?: boolean; forChat?: boolean; id: BigInteger; accessHash: BigInteger; slug: string; title: string; document?: TypeDocument; settings?: ThemeSettings[]; emoticon?: string; installsCount?: number }): Theme
  • Parameters

    • args: { creator?: boolean; default?: boolean; forChat?: boolean; id: BigInteger; accessHash: BigInteger; slug: string; title: string; document?: TypeDocument; settings?: ThemeSettings[]; emoticon?: string; installsCount?: number }
      • Optional creator?: boolean
      • Optional default?: boolean
      • Optional forChat?: boolean
      • id: BigInteger
      • accessHash: BigInteger
      • slug: string
      • title: string
      • Optional document?: TypeDocument
      • Optional settings?: ThemeSettings[]
      • Optional emoticon?: string
      • Optional installsCount?: number

    Returns Theme

Generated using TypeDoc