Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ChannelForbidden

Hierarchy

  • VirtualClass<{ broadcast?: boolean; megagroup?: boolean; id: long; accessHash: long; title: string; untilDate?: int }>
    • ChannelForbidden

Index

Properties

CONSTRUCTOR_ID: number
SUBCLASS_OF_ID: number
className: string
classType: "constructor" | "request"
originalArgs: { broadcast?: boolean; megagroup?: boolean; id: BigInteger; accessHash: BigInteger; title: string; untilDate?: number }

Type declaration

  • Optional broadcast?: boolean
  • Optional megagroup?: boolean
  • id: BigInteger
  • accessHash: BigInteger
  • title: string
  • Optional untilDate?: number
CONSTRUCTOR_ID: 399807445
SUBCLASS_OF_ID: 3316604308
classType: "constructor"
className: "ChannelForbidden"
broadcast?: boolean
megagroup?: boolean
id: BigInteger
accessHash: BigInteger
title: string
untilDate?: number

Methods

  • serializeBytes(data: string | Buffer): Buffer
  • serializeDate(date: number | Date): Buffer
  • getBytes(): Buffer
  • toJSON(): { broadcast?: boolean; megagroup?: boolean; id: BigInteger; accessHash: BigInteger; title: string; untilDate?: number }
  • Returns { broadcast?: boolean; megagroup?: boolean; id: BigInteger; accessHash: BigInteger; title: string; untilDate?: number }

    • Optional broadcast?: boolean
    • Optional megagroup?: boolean
    • id: BigInteger
    • accessHash: BigInteger
    • title: string
    • Optional untilDate?: number

Constructors

  • new ChannelForbidden(args: { broadcast?: boolean; megagroup?: boolean; id: BigInteger; accessHash: BigInteger; title: string; untilDate?: number }): ChannelForbidden
  • Parameters

    • args: { broadcast?: boolean; megagroup?: boolean; id: BigInteger; accessHash: BigInteger; title: string; untilDate?: number }
      • Optional broadcast?: boolean
      • Optional megagroup?: boolean
      • id: BigInteger
      • accessHash: BigInteger
      • title: string
      • Optional untilDate?: number

    Returns ChannelForbidden

Generated using TypeDoc