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

x/grm/src/mod.ts>tl.Api.DcOption

MTProto API Client for Deno 🦕
Go to Latest
class tl.Api.DcOption
extends VirtualClass<{ ipv6?: boolean; mediaOnly?: boolean; tcpoOnly?: boolean; cdn?: boolean; static?: boolean; thisPortOnly?: boolean; id: int; ipAddress: string; port: int; secret?: bytes; }>
import { tl } from "https://deno.land/x/grm@0.5.2/src/mod.ts";
const { DcOption } = tl.Api;

Properties

optional
cdn: boolean
className: "DcOption"
classType: "constructor"
CONSTRUCTOR_ID: 414687501
id: int
ipAddress: string
optional
ipv6: boolean
optional
mediaOnly: boolean
port: int
optional
secret: bytes
optional
static: boolean
SUBCLASS_OF_ID: 2655248675
optional
tcpoOnly: boolean
optional
thisPortOnly: boolean