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

x/mtkruto/2_tl.ts>types.DcOption

[WIP] Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class types.DcOption
extends _TypeDcOption
import { types } from "https://deno.land/x/mtkruto@0.1.104/2_tl.ts";
const { DcOption } = types;

Constructors

new
DcOption(params: { ipv6?: true; mediaOnly?: true; tcpoOnly?: true; cdn?: true; static?: true; thisPortOnly?: true; id: number; ipAddress: string; port: number; secret?: Uint8Array; })

Properties

protected
readonly
[id]
protected
readonly
[params]: Params
optional
cdn: true
id: number
ipAddress: string
optional
ipv6: true
optional
mediaOnly: true
port: number
optional
secret: Uint8Array
optional
static: true
optional
tcpoOnly: true
optional
thisPortOnly: true

Static Properties

readonly
[paramDesc]: ParamDesc