Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PeerSettings

Hierarchy

  • VirtualClass<{ reportSpam?: boolean; addContact?: boolean; blockContact?: boolean; shareContact?: boolean; needContactsException?: boolean; reportGeo?: boolean; autoarchived?: boolean; inviteMembers?: boolean; requestChatBroadcast?: boolean; geoDistance?: int; requestChatTitle?: string; requestChatDate?: int }>
    • PeerSettings

Index

Properties

CONSTRUCTOR_ID: number
SUBCLASS_OF_ID: number
className: string
classType: "constructor" | "request"
originalArgs: { reportSpam?: boolean; addContact?: boolean; blockContact?: boolean; shareContact?: boolean; needContactsException?: boolean; reportGeo?: boolean; autoarchived?: boolean; inviteMembers?: boolean; requestChatBroadcast?: boolean; geoDistance?: number; requestChatTitle?: string; requestChatDate?: number }

Type declaration

  • Optional reportSpam?: boolean
  • Optional addContact?: boolean
  • Optional blockContact?: boolean
  • Optional shareContact?: boolean
  • Optional needContactsException?: boolean
  • Optional reportGeo?: boolean
  • Optional autoarchived?: boolean
  • Optional inviteMembers?: boolean
  • Optional requestChatBroadcast?: boolean
  • Optional geoDistance?: number
  • Optional requestChatTitle?: string
  • Optional requestChatDate?: number
CONSTRUCTOR_ID: 2769817869
SUBCLASS_OF_ID: 4138180484
classType: "constructor"
className: "PeerSettings"
reportSpam?: boolean
addContact?: boolean
blockContact?: boolean
shareContact?: boolean
needContactsException?: boolean
reportGeo?: boolean
autoarchived?: boolean
inviteMembers?: boolean
requestChatBroadcast?: boolean
geoDistance?: number
requestChatTitle?: string
requestChatDate?: number

Methods

  • serializeBytes(data: string | Buffer): Buffer
  • serializeDate(date: number | Date): Buffer
  • getBytes(): Buffer
  • toJSON(): { reportSpam?: boolean; addContact?: boolean; blockContact?: boolean; shareContact?: boolean; needContactsException?: boolean; reportGeo?: boolean; autoarchived?: boolean; inviteMembers?: boolean; requestChatBroadcast?: boolean; geoDistance?: number; requestChatTitle?: string; requestChatDate?: number }
  • Returns { reportSpam?: boolean; addContact?: boolean; blockContact?: boolean; shareContact?: boolean; needContactsException?: boolean; reportGeo?: boolean; autoarchived?: boolean; inviteMembers?: boolean; requestChatBroadcast?: boolean; geoDistance?: number; requestChatTitle?: string; requestChatDate?: number }

    • Optional reportSpam?: boolean
    • Optional addContact?: boolean
    • Optional blockContact?: boolean
    • Optional shareContact?: boolean
    • Optional needContactsException?: boolean
    • Optional reportGeo?: boolean
    • Optional autoarchived?: boolean
    • Optional inviteMembers?: boolean
    • Optional requestChatBroadcast?: boolean
    • Optional geoDistance?: number
    • Optional requestChatTitle?: string
    • Optional requestChatDate?: number

Constructors

  • new PeerSettings(args: { reportSpam?: boolean; addContact?: boolean; blockContact?: boolean; shareContact?: boolean; needContactsException?: boolean; reportGeo?: boolean; autoarchived?: boolean; inviteMembers?: boolean; requestChatBroadcast?: boolean; geoDistance?: number; requestChatTitle?: string; requestChatDate?: number }): Api.PeerSettings
  • Parameters

    • args: { reportSpam?: boolean; addContact?: boolean; blockContact?: boolean; shareContact?: boolean; needContactsException?: boolean; reportGeo?: boolean; autoarchived?: boolean; inviteMembers?: boolean; requestChatBroadcast?: boolean; geoDistance?: number; requestChatTitle?: string; requestChatDate?: number }
      • Optional reportSpam?: boolean
      • Optional addContact?: boolean
      • Optional blockContact?: boolean
      • Optional shareContact?: boolean
      • Optional needContactsException?: boolean
      • Optional reportGeo?: boolean
      • Optional autoarchived?: boolean
      • Optional inviteMembers?: boolean
      • Optional requestChatBroadcast?: boolean
      • Optional geoDistance?: number
      • Optional requestChatTitle?: string
      • Optional requestChatDate?: number

    Returns Api.PeerSettings

Generated using TypeDoc