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

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

[WIP] Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class PhoneConnection
import { PhoneConnection } from "https://deno.land/x/mtkruto@0.0.999/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