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

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

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

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