Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/mtkruto/client/1_client_abstract.ts>ClientAbstractParams

[WIP] Cross-runtime JavaScript library for building Telegram clients
Go to Latest
interface ClientAbstractParams
import { type ClientAbstractParams } from "https://deno.land/x/mtkruto@0.1.104/client/1_client_abstract.ts";

Properties

optional
initialDc: DC

The first DC to connect to. This is commonly used to decide whether to connect to test or production servers. It is not necessarily the DC that the client will directly connect to or is currently connected to. Defaults to the default initial DC.

optional
transportProvider: TransportProvider

The transport provider to use. Defaults to webSocketTransportProvider with its default options.

optional
cdn: boolean

Whether the connection is with a CDN server. Defaults to false.