Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
method tgClient.AbstractTelegramClient.prototype.getDC
import { tgClient } from "https://deno.land/x/grm@0.6.0/src/client/mod.ts";
const { AbstractTelegramClient } = tgClient;

Parameters

dcId: number
optional
downloadDC = [UNSUPPORTED]
optional
web = [UNSUPPORTED]

Returns

Promise<{ id: number; ipAddress: string; port: number; }>