Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Chat

Hierarchy

Index

Properties

CONSTRUCTOR_ID: number
SUBCLASS_OF_ID: number
className: string
classType: "constructor" | "request"
originalArgs: { creator?: boolean; left?: boolean; deactivated?: boolean; callActive?: boolean; callNotEmpty?: boolean; noforwards?: boolean; id: BigInteger; title: string; photo: TypeChatPhoto; participantsCount: number; date: number; version: number; migratedTo?: TypeInputChannel; adminRights?: ChatAdminRights; defaultBannedRights?: ChatBannedRights }

Type declaration

  • Optional creator?: boolean
  • Optional left?: boolean
  • Optional deactivated?: boolean
  • Optional callActive?: boolean
  • Optional callNotEmpty?: boolean
  • Optional noforwards?: boolean
  • id: BigInteger
  • title: string
  • photo: TypeChatPhoto
  • participantsCount: number
  • date: number
  • version: number
  • Optional migratedTo?: TypeInputChannel
  • Optional adminRights?: ChatAdminRights
  • Optional defaultBannedRights?: ChatBannedRights
CONSTRUCTOR_ID: 1103884886
SUBCLASS_OF_ID: 3316604308
classType: "constructor"
className: "Chat"
creator?: boolean
left?: boolean
deactivated?: boolean
callActive?: boolean
callNotEmpty?: boolean
noforwards?: boolean
id: BigInteger
title: string
participantsCount: number
date: number
version: number
migratedTo?: TypeInputChannel
adminRights?: ChatAdminRights
defaultBannedRights?: ChatBannedRights

Methods

  • serializeBytes(data: string | Buffer): Buffer
  • serializeDate(date: number | Date): Buffer
  • getBytes(): Buffer
  • toJSON(): { creator?: boolean; left?: boolean; deactivated?: boolean; callActive?: boolean; callNotEmpty?: boolean; noforwards?: boolean; id: BigInteger; title: string; photo: TypeChatPhoto; participantsCount: number; date: number; version: number; migratedTo?: TypeInputChannel; adminRights?: ChatAdminRights; defaultBannedRights?: ChatBannedRights }
  • Returns { creator?: boolean; left?: boolean; deactivated?: boolean; callActive?: boolean; callNotEmpty?: boolean; noforwards?: boolean; id: BigInteger; title: string; photo: TypeChatPhoto; participantsCount: number; date: number; version: number; migratedTo?: TypeInputChannel; adminRights?: ChatAdminRights; defaultBannedRights?: ChatBannedRights }

    • Optional creator?: boolean
    • Optional left?: boolean
    • Optional deactivated?: boolean
    • Optional callActive?: boolean
    • Optional callNotEmpty?: boolean
    • Optional noforwards?: boolean
    • id: BigInteger
    • title: string
    • photo: TypeChatPhoto
    • participantsCount: number
    • date: number
    • version: number
    • Optional migratedTo?: TypeInputChannel
    • Optional adminRights?: ChatAdminRights
    • Optional defaultBannedRights?: ChatBannedRights
  • fromReader(reader: any): Chat

Constructors

  • new Chat(args: { creator?: boolean; left?: boolean; deactivated?: boolean; callActive?: boolean; callNotEmpty?: boolean; noforwards?: boolean; id: BigInteger; title: string; photo: TypeChatPhoto; participantsCount: number; date: number; version: number; migratedTo?: TypeInputChannel; adminRights?: ChatAdminRights; defaultBannedRights?: ChatBannedRights }): Chat

Generated using TypeDoc