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

x/grm/src/client/base_client.ts>TelegramClientParams

MTProto API Client for Deno 🦕
Go to Latest
interface TelegramClientParams
import { type TelegramClientParams } from "https://deno.land/x/grm@0.5.1/src/client/base_client.ts";

Properties

optional
connection: Connection
optional
useIPV6: boolean
optional
timeout: number
optional
requestRetries: number
optional
connectionRetries: number
optional
proxy: ProxyInterface
optional
downloadRetries: number
optional
retryDelay: number
optional
autoReconnect: boolean
optional
sequentialUpdates: boolean
optional
floodSleepThreshold: number
optional
deviceModel: string
optional
systemVersion: string
optional
appVersion: string
optional
langCode: string
optional
systemLangCode: string
optional
baseLogger: Logger
optional
logLevel: LogLevel | `${LogLevel}`
optional
useWSS: boolean
optional
maxConcurrentDownloads: number
optional
securityChecks: boolean
optional
testServers: boolean
optional
networkSocket: PromisedNetSockets | PromisedWebSockets