Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
interface telegramBaseClient.TelegramClientParams
import { type telegramBaseClient } from "https://deno.land/x/grm@0.5.2/src/client/mod.ts";
const { TelegramClientParams } = 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