Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ChatInvite

Hierarchy

  • VirtualClass<{ channel?: boolean; broadcast?: boolean; public?: boolean; megagroup?: boolean; requestNeeded?: boolean; verified?: boolean; scam?: boolean; fake?: boolean; title: string; about?: string; photo: Api.TypePhoto; participantsCount: int; participants?: TypeUser[]; color: int }>
    • ChatInvite

Index

Properties

CONSTRUCTOR_ID: number
SUBCLASS_OF_ID: number
className: string
classType: "constructor" | "request"
originalArgs: { channel?: boolean; broadcast?: boolean; public?: boolean; megagroup?: boolean; requestNeeded?: boolean; verified?: boolean; scam?: boolean; fake?: boolean; title: string; about?: string; photo: Api.TypePhoto; participantsCount: number; participants?: TypeUser[]; color: number }

Type declaration

  • Optional channel?: boolean
  • Optional broadcast?: boolean
  • Optional public?: boolean
  • Optional megagroup?: boolean
  • Optional requestNeeded?: boolean
  • Optional verified?: boolean
  • Optional scam?: boolean
  • Optional fake?: boolean
  • title: string
  • Optional about?: string
  • photo: Api.TypePhoto
  • participantsCount: number
  • Optional participants?: TypeUser[]
  • color: number
CONSTRUCTOR_ID: 3454069824
SUBCLASS_OF_ID: 72750902
classType: "constructor"
className: "ChatInvite"
channel?: boolean
broadcast?: boolean
public?: boolean
megagroup?: boolean
requestNeeded?: boolean
verified?: boolean
scam?: boolean
fake?: boolean
title: string
about?: string
photo: Api.TypePhoto
participantsCount: number
participants?: TypeUser[]
color: number

Methods

  • serializeBytes(data: string | Buffer): Buffer
  • serializeDate(date: number | Date): Buffer
  • getBytes(): Buffer
  • toJSON(): { channel?: boolean; broadcast?: boolean; public?: boolean; megagroup?: boolean; requestNeeded?: boolean; verified?: boolean; scam?: boolean; fake?: boolean; title: string; about?: string; photo: Api.TypePhoto; participantsCount: number; participants?: TypeUser[]; color: number }
  • Returns { channel?: boolean; broadcast?: boolean; public?: boolean; megagroup?: boolean; requestNeeded?: boolean; verified?: boolean; scam?: boolean; fake?: boolean; title: string; about?: string; photo: Api.TypePhoto; participantsCount: number; participants?: TypeUser[]; color: number }

    • Optional channel?: boolean
    • Optional broadcast?: boolean
    • Optional public?: boolean
    • Optional megagroup?: boolean
    • Optional requestNeeded?: boolean
    • Optional verified?: boolean
    • Optional scam?: boolean
    • Optional fake?: boolean
    • title: string
    • Optional about?: string
    • photo: Api.TypePhoto
    • participantsCount: number
    • Optional participants?: TypeUser[]
    • color: number

Constructors

  • new ChatInvite(args: { channel?: boolean; broadcast?: boolean; public?: boolean; megagroup?: boolean; requestNeeded?: boolean; verified?: boolean; scam?: boolean; fake?: boolean; title: string; about?: string; photo: Api.TypePhoto; participantsCount: number; participants?: TypeUser[]; color: number }): ChatInvite
  • Parameters

    • args: { channel?: boolean; broadcast?: boolean; public?: boolean; megagroup?: boolean; requestNeeded?: boolean; verified?: boolean; scam?: boolean; fake?: boolean; title: string; about?: string; photo: Api.TypePhoto; participantsCount: number; participants?: TypeUser[]; color: number }
      • Optional channel?: boolean
      • Optional broadcast?: boolean
      • Optional public?: boolean
      • Optional megagroup?: boolean
      • Optional requestNeeded?: boolean
      • Optional verified?: boolean
      • Optional scam?: boolean
      • Optional fake?: boolean
      • title: string
      • Optional about?: string
      • photo: Api.TypePhoto
      • participantsCount: number
      • Optional participants?: TypeUser[]
      • color: number

    Returns ChatInvite

Generated using TypeDoc