Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

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

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class NearestDc_
extends _NearestDc_
import { NearestDc_ } from "https://deno.land/x/mtkruto@0.1.190/tl/2_types.ts";

Nearest data center, according to geo-ip.

Constructors

new
NearestDc_(params: { country: string; this_dc: number; nearest_dc: number; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
country: string

Country code determined by geo-ip

nearest_dc: number

Number of nearest data center

this_dc: number

Number of current data center

Static Properties

readonly
[name]: string
readonly
[paramDesc]: ParamDesc