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

Parameters

_dcId: number
_download: boolean

Returns

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