Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/mtkruto/tl/2_types.ts>Config

[WIP] Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class Config
extends _TypeConfig
import { Config } from "https://deno.land/x/mtkruto@0.1.118/tl/2_types.ts";

Constructors

new
Config(params: { defaultP2pContacts?: true; preloadFeaturedStickers?: true; revokePmInbox?: true; blockedMode?: true; forceTryIpv6?: true; date: number; expires: number; testMode: boolean; thisDc: number; dcOptions: Array<TypeDcOption>; 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; })

Properties

protected
readonly
[id]
protected
readonly
[params]: Params
optional
autologinToken: string
optional
autoupdateUrlPrefix: string
optional
baseLangPackVersion: number
optional
blockedMode: true
callConnectTimeoutMs: number
callPacketTimeoutMs: number
callReceiveTimeoutMs: number
callRingTimeoutMs: number
captionLengthMax: number
channelsReadMediaPeriod: number
chatSizeMax: number
date: number
dcOptions: Array<TypeDcOption>
dcTxtDomainName: string
optional
defaultP2pContacts: true
editTimeLimit: number
expires: number
optional
forceTryIpv6: true
forwardedCountMax: number
optional
gifSearchUsername: string
optional
imgSearchUsername: string
optional
langPackVersion: number
megagroupSizeMax: number
messageLengthMax: number
meUrlPrefix: string
notifyCloudDelayMs: number
notifyDefaultDelayMs: number
offlineBlurTimeoutMs: number
offlineIdleTimeoutMs: number
onlineCloudTimeoutMs: number
onlineUpdatePeriodMs: number
optional
preloadFeaturedStickers: true
pushChatLimit: number
pushChatPeriodMs: number
ratingEDecay: number
optional
reactionsDefault: TypeReaction
optional
revokePmInbox: true
revokePmTimeLimit: number
revokeTimeLimit: number
optional
staticMapsProvider: string
stickersRecentLimit: number
optional
suggestedLangCode: string
testMode: boolean
thisDc: number
optional
tmpSessions: number
optional
venueSearchUsername: string
webfileDcId: number

Static Properties

readonly
[paramDesc]: ParamDesc