Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
method client.telegramBaseClient.TelegramBaseClient.prototype.getDC
import { client } from "https://deno.land/x/grm@0.5.2/src/mod.ts";
const { TelegramBaseClient } = client.telegramBaseClient;

Parameters

_dcId: number
_download: boolean

Returns

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