Skip to main content
The Deno 2 Release Candidate is here
Learn more
Go to Latest
method AbstractTelegramClient.prototype.getDC
import { AbstractTelegramClient } from "https://deno.land/x/grm@0.5.2/src/client/abstract_telegram_client.ts";

Parameters

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

Returns

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