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

x/mtkruto/tl/2_types.ts>PhoneConnection

An attempt to write a Deno-native MTProto client
Go to Latest
class PhoneConnection
import { PhoneConnection } from "https://deno.land/x/mtkruto@0.0.62/tl/2_types.ts";

Constructors

new
PhoneConnection(params: { tcp?: true; id: bigint; ip: string; ipv6: string; port: number; peerTag: Uint8Array; })

Properties

protected
readonly
[id]
protected
readonly
[params]: Params
id: bigint
ip: string
ipv6: string
peerTag: Uint8Array
port: number
optional
tcp: true

Static Properties

readonly
[paramDesc]: ParamDesc