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

x/mtkruto/tl/3_functions.ts>InitConnection

[WIP] Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class InitConnection
extends Function<T["__R"]>
import { InitConnection } from "https://deno.land/x/mtkruto@0.0.982/tl/3_functions.ts";

Constructors

new
InitConnection(params: { apiId: number; deviceModel: string; systemVersion: string; appVersion: string; systemLangCode: string; langPack: string; langCode: string; proxy?: types.TypeInputClientProxy; params?: types.TypeJSONValue; query: T; })

Type Parameters

T extends Function<unknown>

Properties

protected
readonly
[id]
protected
readonly
[params]: Params
apiId: number
appVersion: string
deviceModel: string
langCode: string
langPack: string
optional
params: types.TypeJSONValue
optional
proxy: types.TypeInputClientProxy
query: T
systemLangCode: string
systemVersion: string

Static Properties

readonly
[paramDesc]: ParamDesc