Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
interface client.telegramBaseClient.TelegramClientParams
import { type client } from "https://deno.land/x/grm@0.5.4/mod.ts";
const { TelegramClientParams } = client.telegramBaseClient;

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