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

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

An attempt to write a Deno-native MTProto client
Go to Latest
class InitConnection
extends Function<T["__R"]>
import { InitConnection } from "https://deno.land/x/mtkruto@0.0.62/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