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

x/grm/tl/api.d.ts>Api.Config

MTProto API Client for Deno 🦕
Latest
class Api.Config
extends VirtualClass<{ phonecallsEnabled?: boolean; defaultP2pContacts?: boolean; preloadFeaturedStickers?: boolean; ignorePhoneEntities?: boolean; revokePmInbox?: boolean; blockedMode?: boolean; pfsEnabled?: boolean; forceTryIpv6?: boolean; date: int; expires: int; testMode: Bool; thisDc: int; dcOptions: Api.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; savedGifsLimit: int; editTimeLimit: int; revokeTimeLimit: int; revokePmTimeLimit: int; ratingEDecay: int; stickersRecentLimit: int; stickersFavedLimit: int; channelsReadMediaPeriod: int; tmpSessions?: int; pinnedDialogsCountMax: int; pinnedInfolderCountMax: 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?: Api.TypeReaction; }>
import { Api } from "https://deno.land/x/grm@0.8.2/tl/api.d.ts";
const { Config } = Api;

Properties

optional
autoupdateUrlPrefix: string
optional
baseLangPackVersion: int
optional
blockedMode: boolean
callConnectTimeoutMs: int
callPacketTimeoutMs: int
callReceiveTimeoutMs: int
callRingTimeoutMs: int
captionLengthMax: int
channelsReadMediaPeriod: int
chatSizeMax: int
className: "Config"
classType: "constructor"
CONSTRUCTOR_ID: 589653676
date: int
dcOptions: Api.TypeDcOption[]
dcTxtDomainName: string
optional
defaultP2pContacts: boolean
editTimeLimit: int
expires: int
optional
forceTryIpv6: boolean
forwardedCountMax: int
optional
gifSearchUsername: string
optional
ignorePhoneEntities: boolean
optional
imgSearchUsername: string
optional
langPackVersion: int
megagroupSizeMax: int
messageLengthMax: int
meUrlPrefix: string
notifyCloudDelayMs: int
notifyDefaultDelayMs: int
offlineBlurTimeoutMs: int
offlineIdleTimeoutMs: int
onlineCloudTimeoutMs: int
onlineUpdatePeriodMs: int
optional
pfsEnabled: boolean
optional
phonecallsEnabled: boolean
pinnedDialogsCountMax: int
pinnedInfolderCountMax: int
optional
preloadFeaturedStickers: boolean
pushChatLimit: int
pushChatPeriodMs: int
ratingEDecay: int
optional
reactionsDefault: Api.TypeReaction
optional
revokePmInbox: boolean
revokePmTimeLimit: int
revokeTimeLimit: int
savedGifsLimit: int
optional
staticMapsProvider: string
stickersFavedLimit: int
stickersRecentLimit: int
SUBCLASS_OF_ID: 3542493770
optional
suggestedLangCode: string
testMode: Bool
thisDc: int
optional
tmpSessions: int
optional
venueSearchUsername: string
webfileDcId: int