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

x/grm/mod.ts>Api.DcOption

MTProto API Client for Deno 🦕
Go to Latest
class 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 { Api } from "https://deno.land/x/grm@0.6.0/mod.ts";
const { DcOption } = 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