Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Config

Hierarchy

  • VirtualClass<{ defaultP2pContacts?: boolean; preloadFeaturedStickers?: boolean; revokePmInbox?: boolean; blockedMode?: boolean; forceTryIpv6?: boolean; date: int; expires: int; testMode: Bool; thisDc: int; dcOptions: TypeDcOption[]; dcTxtDomainName: string; chatSizeMax: int; megagroupSizeMax: int; forwardedCountMax: int; onlineUpdatePeriodMs: int; offlineBlurTimeoutMs: int; offlineIdleTimeoutMs: int; onlineCloudTimeoutMs: int; notifyCloudDelayMs: int; notifyDefaultDelayMs: int; pushChatPeriodMs: int; pushChatLimit: int; editTimeLimit: int; revokeTimeLimit: int; revokePmTimeLimit: int; ratingEDecay: int; stickersRecentLimit: int; channelsReadMediaPeriod: int; tmpSessions?: int; callReceiveTimeoutMs: int; callRingTimeoutMs: int; callConnectTimeoutMs: int; callPacketTimeoutMs: int; meUrlPrefix: string; autoupdateUrlPrefix?: string; gifSearchUsername?: string; venueSearchUsername?: string; imgSearchUsername?: string; staticMapsProvider?: string; captionLengthMax: int; messageLengthMax: int; webfileDcId: int; suggestedLangCode?: string; langPackVersion?: int; baseLangPackVersion?: int; reactionsDefault?: TypeReaction; autologinToken?: string }>
    • Config

Index

Properties

CONSTRUCTOR_ID: number
SUBCLASS_OF_ID: number
className: string
classType: "constructor" | "request"
originalArgs: { defaultP2pContacts?: boolean; preloadFeaturedStickers?: boolean; revokePmInbox?: boolean; blockedMode?: boolean; forceTryIpv6?: boolean; date: number; expires: number; testMode: boolean; thisDc: number; dcOptions: DcOption[]; dcTxtDomainName: string; chatSizeMax: number; megagroupSizeMax: number; forwardedCountMax: number; onlineUpdatePeriodMs: number; offlineBlurTimeoutMs: number; offlineIdleTimeoutMs: number; onlineCloudTimeoutMs: number; notifyCloudDelayMs: number; notifyDefaultDelayMs: number; pushChatPeriodMs: number; pushChatLimit: number; editTimeLimit: number; revokeTimeLimit: number; revokePmTimeLimit: number; ratingEDecay: number; stickersRecentLimit: number; channelsReadMediaPeriod: number; tmpSessions?: number; callReceiveTimeoutMs: number; callRingTimeoutMs: number; callConnectTimeoutMs: number; callPacketTimeoutMs: number; meUrlPrefix: string; autoupdateUrlPrefix?: string; gifSearchUsername?: string; venueSearchUsername?: string; imgSearchUsername?: string; staticMapsProvider?: string; captionLengthMax: number; messageLengthMax: number; webfileDcId: number; suggestedLangCode?: string; langPackVersion?: number; baseLangPackVersion?: number; reactionsDefault?: TypeReaction; autologinToken?: string }

Type declaration

  • Optional defaultP2pContacts?: boolean
  • Optional preloadFeaturedStickers?: boolean
  • Optional revokePmInbox?: boolean
  • Optional blockedMode?: boolean
  • Optional forceTryIpv6?: boolean
  • date: number
  • expires: number
  • testMode: boolean
  • thisDc: number
  • dcOptions: DcOption[]
  • dcTxtDomainName: string
  • chatSizeMax: number
  • megagroupSizeMax: number
  • forwardedCountMax: number
  • onlineUpdatePeriodMs: number
  • offlineBlurTimeoutMs: number
  • offlineIdleTimeoutMs: number
  • onlineCloudTimeoutMs: number
  • notifyCloudDelayMs: number
  • notifyDefaultDelayMs: number
  • pushChatPeriodMs: number
  • pushChatLimit: number
  • editTimeLimit: number
  • revokeTimeLimit: number
  • revokePmTimeLimit: number
  • ratingEDecay: number
  • stickersRecentLimit: number
  • channelsReadMediaPeriod: number
  • Optional tmpSessions?: number
  • callReceiveTimeoutMs: number
  • callRingTimeoutMs: number
  • callConnectTimeoutMs: number
  • callPacketTimeoutMs: number
  • meUrlPrefix: string
  • Optional autoupdateUrlPrefix?: string
  • Optional gifSearchUsername?: string
  • Optional venueSearchUsername?: string
  • Optional imgSearchUsername?: string
  • Optional staticMapsProvider?: string
  • captionLengthMax: number
  • messageLengthMax: number
  • webfileDcId: number
  • Optional suggestedLangCode?: string
  • Optional langPackVersion?: number
  • Optional baseLangPackVersion?: number
  • Optional reactionsDefault?: TypeReaction
  • Optional autologinToken?: string
CONSTRUCTOR_ID: 3424265246
SUBCLASS_OF_ID: 3542493770
classType: "constructor"
className: "Config"
defaultP2pContacts?: boolean
preloadFeaturedStickers?: boolean
revokePmInbox?: boolean
blockedMode?: boolean
forceTryIpv6?: boolean
date: number
expires: number
testMode: boolean
thisDc: number
dcOptions: DcOption[]
dcTxtDomainName: string
chatSizeMax: number
megagroupSizeMax: number
forwardedCountMax: number
onlineUpdatePeriodMs: number
offlineBlurTimeoutMs: number
offlineIdleTimeoutMs: number
onlineCloudTimeoutMs: number
notifyCloudDelayMs: number
notifyDefaultDelayMs: number
pushChatPeriodMs: number
pushChatLimit: number
editTimeLimit: number
revokeTimeLimit: number
revokePmTimeLimit: number
ratingEDecay: number
stickersRecentLimit: number
channelsReadMediaPeriod: number
tmpSessions?: number
callReceiveTimeoutMs: number
callRingTimeoutMs: number
callConnectTimeoutMs: number
callPacketTimeoutMs: number
meUrlPrefix: string
autoupdateUrlPrefix?: string
gifSearchUsername?: string
venueSearchUsername?: string
imgSearchUsername?: string
staticMapsProvider?: string
captionLengthMax: number
messageLengthMax: number
webfileDcId: number
suggestedLangCode?: string
langPackVersion?: number
baseLangPackVersion?: number
reactionsDefault?: TypeReaction
autologinToken?: string

Methods

  • serializeBytes(data: string | Buffer): Buffer
  • serializeDate(date: number | Date): Buffer
  • getBytes(): Buffer
  • toJSON(): { defaultP2pContacts?: boolean; preloadFeaturedStickers?: boolean; revokePmInbox?: boolean; blockedMode?: boolean; forceTryIpv6?: boolean; date: number; expires: number; testMode: boolean; thisDc: number; dcOptions: DcOption[]; dcTxtDomainName: string; chatSizeMax: number; megagroupSizeMax: number; forwardedCountMax: number; onlineUpdatePeriodMs: number; offlineBlurTimeoutMs: number; offlineIdleTimeoutMs: number; onlineCloudTimeoutMs: number; notifyCloudDelayMs: number; notifyDefaultDelayMs: number; pushChatPeriodMs: number; pushChatLimit: number; editTimeLimit: number; revokeTimeLimit: number; revokePmTimeLimit: number; ratingEDecay: number; stickersRecentLimit: number; channelsReadMediaPeriod: number; tmpSessions?: number; callReceiveTimeoutMs: number; callRingTimeoutMs: number; callConnectTimeoutMs: number; callPacketTimeoutMs: number; meUrlPrefix: string; autoupdateUrlPrefix?: string; gifSearchUsername?: string; venueSearchUsername?: string; imgSearchUsername?: string; staticMapsProvider?: string; captionLengthMax: number; messageLengthMax: number; webfileDcId: number; suggestedLangCode?: string; langPackVersion?: number; baseLangPackVersion?: number; reactionsDefault?: TypeReaction; autologinToken?: string }
  • Returns { defaultP2pContacts?: boolean; preloadFeaturedStickers?: boolean; revokePmInbox?: boolean; blockedMode?: boolean; forceTryIpv6?: boolean; date: number; expires: number; testMode: boolean; thisDc: number; dcOptions: DcOption[]; dcTxtDomainName: string; chatSizeMax: number; megagroupSizeMax: number; forwardedCountMax: number; onlineUpdatePeriodMs: number; offlineBlurTimeoutMs: number; offlineIdleTimeoutMs: number; onlineCloudTimeoutMs: number; notifyCloudDelayMs: number; notifyDefaultDelayMs: number; pushChatPeriodMs: number; pushChatLimit: number; editTimeLimit: number; revokeTimeLimit: number; revokePmTimeLimit: number; ratingEDecay: number; stickersRecentLimit: number; channelsReadMediaPeriod: number; tmpSessions?: number; callReceiveTimeoutMs: number; callRingTimeoutMs: number; callConnectTimeoutMs: number; callPacketTimeoutMs: number; meUrlPrefix: string; autoupdateUrlPrefix?: string; gifSearchUsername?: string; venueSearchUsername?: string; imgSearchUsername?: string; staticMapsProvider?: string; captionLengthMax: number; messageLengthMax: number; webfileDcId: number; suggestedLangCode?: string; langPackVersion?: number; baseLangPackVersion?: number; reactionsDefault?: TypeReaction; autologinToken?: string }

    • Optional defaultP2pContacts?: boolean
    • Optional preloadFeaturedStickers?: boolean
    • Optional revokePmInbox?: boolean
    • Optional blockedMode?: boolean
    • Optional forceTryIpv6?: boolean
    • date: number
    • expires: number
    • testMode: boolean
    • thisDc: number
    • dcOptions: DcOption[]
    • dcTxtDomainName: string
    • chatSizeMax: number
    • megagroupSizeMax: number
    • forwardedCountMax: number
    • onlineUpdatePeriodMs: number
    • offlineBlurTimeoutMs: number
    • offlineIdleTimeoutMs: number
    • onlineCloudTimeoutMs: number
    • notifyCloudDelayMs: number
    • notifyDefaultDelayMs: number
    • pushChatPeriodMs: number
    • pushChatLimit: number
    • editTimeLimit: number
    • revokeTimeLimit: number
    • revokePmTimeLimit: number
    • ratingEDecay: number
    • stickersRecentLimit: number
    • channelsReadMediaPeriod: number
    • Optional tmpSessions?: number
    • callReceiveTimeoutMs: number
    • callRingTimeoutMs: number
    • callConnectTimeoutMs: number
    • callPacketTimeoutMs: number
    • meUrlPrefix: string
    • Optional autoupdateUrlPrefix?: string
    • Optional gifSearchUsername?: string
    • Optional venueSearchUsername?: string
    • Optional imgSearchUsername?: string
    • Optional staticMapsProvider?: string
    • captionLengthMax: number
    • messageLengthMax: number
    • webfileDcId: number
    • Optional suggestedLangCode?: string
    • Optional langPackVersion?: number
    • Optional baseLangPackVersion?: number
    • Optional reactionsDefault?: TypeReaction
    • Optional autologinToken?: string
  • fromReader(reader: any): Config

Constructors

  • new Config(args: { defaultP2pContacts?: boolean; preloadFeaturedStickers?: boolean; revokePmInbox?: boolean; blockedMode?: boolean; forceTryIpv6?: boolean; date: number; expires: number; testMode: boolean; thisDc: number; dcOptions: DcOption[]; dcTxtDomainName: string; chatSizeMax: number; megagroupSizeMax: number; forwardedCountMax: number; onlineUpdatePeriodMs: number; offlineBlurTimeoutMs: number; offlineIdleTimeoutMs: number; onlineCloudTimeoutMs: number; notifyCloudDelayMs: number; notifyDefaultDelayMs: number; pushChatPeriodMs: number; pushChatLimit: number; editTimeLimit: number; revokeTimeLimit: number; revokePmTimeLimit: number; ratingEDecay: number; stickersRecentLimit: number; channelsReadMediaPeriod: number; tmpSessions?: number; callReceiveTimeoutMs: number; callRingTimeoutMs: number; callConnectTimeoutMs: number; callPacketTimeoutMs: number; meUrlPrefix: string; autoupdateUrlPrefix?: string; gifSearchUsername?: string; venueSearchUsername?: string; imgSearchUsername?: string; staticMapsProvider?: string; captionLengthMax: number; messageLengthMax: number; webfileDcId: number; suggestedLangCode?: string; langPackVersion?: number; baseLangPackVersion?: number; reactionsDefault?: TypeReaction; autologinToken?: string }): Config
  • Parameters

    • args: { defaultP2pContacts?: boolean; preloadFeaturedStickers?: boolean; revokePmInbox?: boolean; blockedMode?: boolean; forceTryIpv6?: boolean; date: number; expires: number; testMode: boolean; thisDc: number; dcOptions: DcOption[]; dcTxtDomainName: string; chatSizeMax: number; megagroupSizeMax: number; forwardedCountMax: number; onlineUpdatePeriodMs: number; offlineBlurTimeoutMs: number; offlineIdleTimeoutMs: number; onlineCloudTimeoutMs: number; notifyCloudDelayMs: number; notifyDefaultDelayMs: number; pushChatPeriodMs: number; pushChatLimit: number; editTimeLimit: number; revokeTimeLimit: number; revokePmTimeLimit: number; ratingEDecay: number; stickersRecentLimit: number; channelsReadMediaPeriod: number; tmpSessions?: number; callReceiveTimeoutMs: number; callRingTimeoutMs: number; callConnectTimeoutMs: number; callPacketTimeoutMs: number; meUrlPrefix: string; autoupdateUrlPrefix?: string; gifSearchUsername?: string; venueSearchUsername?: string; imgSearchUsername?: string; staticMapsProvider?: string; captionLengthMax: number; messageLengthMax: number; webfileDcId: number; suggestedLangCode?: string; langPackVersion?: number; baseLangPackVersion?: number; reactionsDefault?: TypeReaction; autologinToken?: string }
      • Optional defaultP2pContacts?: boolean
      • Optional preloadFeaturedStickers?: boolean
      • Optional revokePmInbox?: boolean
      • Optional blockedMode?: boolean
      • Optional forceTryIpv6?: boolean
      • date: number
      • expires: number
      • testMode: boolean
      • thisDc: number
      • dcOptions: DcOption[]
      • dcTxtDomainName: string
      • chatSizeMax: number
      • megagroupSizeMax: number
      • forwardedCountMax: number
      • onlineUpdatePeriodMs: number
      • offlineBlurTimeoutMs: number
      • offlineIdleTimeoutMs: number
      • onlineCloudTimeoutMs: number
      • notifyCloudDelayMs: number
      • notifyDefaultDelayMs: number
      • pushChatPeriodMs: number
      • pushChatLimit: number
      • editTimeLimit: number
      • revokeTimeLimit: number
      • revokePmTimeLimit: number
      • ratingEDecay: number
      • stickersRecentLimit: number
      • channelsReadMediaPeriod: number
      • Optional tmpSessions?: number
      • callReceiveTimeoutMs: number
      • callRingTimeoutMs: number
      • callConnectTimeoutMs: number
      • callPacketTimeoutMs: number
      • meUrlPrefix: string
      • Optional autoupdateUrlPrefix?: string
      • Optional gifSearchUsername?: string
      • Optional venueSearchUsername?: string
      • Optional imgSearchUsername?: string
      • Optional staticMapsProvider?: string
      • captionLengthMax: number
      • messageLengthMax: number
      • webfileDcId: number
      • Optional suggestedLangCode?: string
      • Optional langPackVersion?: number
      • Optional baseLangPackVersion?: number
      • Optional reactionsDefault?: TypeReaction
      • Optional autologinToken?: string

    Returns Config

Generated using TypeDoc