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

x/mtkruto/transport/2_transport_provider.ts>getDcIps

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
function getDcIps
import { getDcIps } from "https://deno.land/x/mtkruto@0.2.50/transport/2_transport_provider.ts";

Parameters

dc: DC
version: "ipv4" | "ipv6"

Returns

[string, ...string[]]