Skip to main content
Module

x/mtkruto/mod.ts>types.PhoneConnection

[WIP] Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class types.PhoneConnection
import { types } from "https://deno.land/x/mtkruto@0.0.990/mod.ts";
const { PhoneConnection } = types;

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