Skip to main content
Module

x/mtkruto/mod.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.0.986/mod.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