Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DialogFilter

Hierarchy

  • VirtualClass<{ contacts?: boolean; nonContacts?: boolean; groups?: boolean; broadcasts?: boolean; bots?: boolean; excludeMuted?: boolean; excludeRead?: boolean; excludeArchived?: boolean; id: int; title: string; emoticon?: string; pinnedPeers: TypeInputPeer[]; includePeers: TypeInputPeer[]; excludePeers: TypeInputPeer[] }>
    • DialogFilter

Index

Properties

CONSTRUCTOR_ID: number
SUBCLASS_OF_ID: number
className: string
classType: "constructor" | "request"
originalArgs: { contacts?: boolean; nonContacts?: boolean; groups?: boolean; broadcasts?: boolean; bots?: boolean; excludeMuted?: boolean; excludeRead?: boolean; excludeArchived?: boolean; id: number; title: string; emoticon?: string; pinnedPeers: TypeInputPeer[]; includePeers: TypeInputPeer[]; excludePeers: TypeInputPeer[] }

Type declaration

  • Optional contacts?: boolean
  • Optional nonContacts?: boolean
  • Optional groups?: boolean
  • Optional broadcasts?: boolean
  • Optional bots?: boolean
  • Optional excludeMuted?: boolean
  • Optional excludeRead?: boolean
  • Optional excludeArchived?: boolean
  • id: number
  • title: string
  • Optional emoticon?: string
  • pinnedPeers: TypeInputPeer[]
  • includePeers: TypeInputPeer[]
  • excludePeers: TypeInputPeer[]
CONSTRUCTOR_ID: 1949890536
SUBCLASS_OF_ID: 1764475991
classType: "constructor"
className: "DialogFilter"
contacts?: boolean
nonContacts?: boolean
groups?: boolean
broadcasts?: boolean
bots?: boolean
excludeMuted?: boolean
excludeRead?: boolean
excludeArchived?: boolean
id: number
title: string
emoticon?: string
pinnedPeers: TypeInputPeer[]
includePeers: TypeInputPeer[]
excludePeers: TypeInputPeer[]

Methods

  • serializeBytes(data: string | Buffer): Buffer
  • serializeDate(date: number | Date): Buffer
  • getBytes(): Buffer
  • toJSON(): { contacts?: boolean; nonContacts?: boolean; groups?: boolean; broadcasts?: boolean; bots?: boolean; excludeMuted?: boolean; excludeRead?: boolean; excludeArchived?: boolean; id: number; title: string; emoticon?: string; pinnedPeers: TypeInputPeer[]; includePeers: TypeInputPeer[]; excludePeers: TypeInputPeer[] }
  • Returns { contacts?: boolean; nonContacts?: boolean; groups?: boolean; broadcasts?: boolean; bots?: boolean; excludeMuted?: boolean; excludeRead?: boolean; excludeArchived?: boolean; id: number; title: string; emoticon?: string; pinnedPeers: TypeInputPeer[]; includePeers: TypeInputPeer[]; excludePeers: TypeInputPeer[] }

    • Optional contacts?: boolean
    • Optional nonContacts?: boolean
    • Optional groups?: boolean
    • Optional broadcasts?: boolean
    • Optional bots?: boolean
    • Optional excludeMuted?: boolean
    • Optional excludeRead?: boolean
    • Optional excludeArchived?: boolean
    • id: number
    • title: string
    • Optional emoticon?: string
    • pinnedPeers: TypeInputPeer[]
    • includePeers: TypeInputPeer[]
    • excludePeers: TypeInputPeer[]

Constructors

  • new DialogFilter(args: { contacts?: boolean; nonContacts?: boolean; groups?: boolean; broadcasts?: boolean; bots?: boolean; excludeMuted?: boolean; excludeRead?: boolean; excludeArchived?: boolean; id: number; title: string; emoticon?: string; pinnedPeers: TypeInputPeer[]; includePeers: TypeInputPeer[]; excludePeers: TypeInputPeer[] }): DialogFilter
  • Parameters

    • args: { contacts?: boolean; nonContacts?: boolean; groups?: boolean; broadcasts?: boolean; bots?: boolean; excludeMuted?: boolean; excludeRead?: boolean; excludeArchived?: boolean; id: number; title: string; emoticon?: string; pinnedPeers: TypeInputPeer[]; includePeers: TypeInputPeer[]; excludePeers: TypeInputPeer[] }
      • Optional contacts?: boolean
      • Optional nonContacts?: boolean
      • Optional groups?: boolean
      • Optional broadcasts?: boolean
      • Optional bots?: boolean
      • Optional excludeMuted?: boolean
      • Optional excludeRead?: boolean
      • Optional excludeArchived?: boolean
      • id: number
      • title: string
      • Optional emoticon?: string
      • pinnedPeers: TypeInputPeer[]
      • includePeers: TypeInputPeer[]
      • excludePeers: TypeInputPeer[]

    Returns DialogFilter

Generated using TypeDoc